CVE-2026-59818: CVE-2026-59818: Improper Certificate Revocation List (CRL) Validation on Split gRPC Listeners in etcd
CVE-2026-59818: Improper Certificate Revocation List (CRL) Validation on Split gRPC Listeners in etcd Vulnerability ID: CVE-2026-59818 CVSS Score: 6.5 Published: 2026-11-24 In etcd versions prior to 3.5.32 and 3.6.1
CVE-2026-59818: Improper Certificate Revocation List (CRL) Validation on Split gRPC Listeners in etcd
Vulnerability ID: CVE-2026-59818
CVSS Score: 6.5
Published: 2026-11-24
In etcd versions prior to 3.5.32 and 3.6.13, configuring the server with --listen-client-http-urls decouples HTTP and gRPC traffic onto distinct network listeners. Due to an implementation flaw in how TLS configurations are passed to the gRPC server instance, the Certificate Revocation List (CRL) defined by --client-crl-file is enforced exclusively on the HTTP listener and omitted entirely on the dedicated gRPC listener. This allows an adversary possessing a revoked, CA-signed client certificate to bypass mutual TLS (mTLS) revocation checks and authenticate directly to the gRPC interface.
TL;DR
etcd fails to verify client certificates against a configured Certificate Revocation List (--client-crl-file) on its gRPC port when running in split-listener mode (--listen-client-http-urls). Clients holding revoked certificates can authenticate over gRPC and perform unauthorized read, write, or administrative operations.
Technical Details
- Vulnerability Class: CWE-295: Improper Certificate Validation
- CVSS v3.1 Score: 6.5 Medium (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N)
- Attack Vector: Network (gRPC endpoint with split HTTP listener enabled)
- EPSS Score: 0.43% (37.71st Percentile)
- Required Configuration: --client-crl-file AND --listen-client-http-urls
- Security Impact: mTLS Revocation Bypass / Unauthorized gRPC Access
- Exploit Status: None (No public PoCs or active exploitation)
- CISA KEV Status: Not Listed
Affected Systems
- etcd-io/etcd (< 3.5.32)
- etcd-io/etcd (>= 3.6.0-alpha.0, < 3.6.13)
-
etcd: < 3.5.32 (Fixed in:
3.5.32) -
etcd: >= 3.6.0-alpha.0, < 3.6.13 (Fixed in:
3.6.13)
Code Analysis
Commit: 2308ce1
Initial upstream fix adding ConfigureCRLVerification to TLSInfo and invoking it when onlyGRPC is enabled in serve.go.
File: client/pkg/transport/listener_tls.go
@@ -166,6 +166,29 @@ func (l *tlsListener) acceptLoop() {
}
}
+// ConfigureCRLVerification appends a VerifyConnection hook to cfg that
+// rejects any peer certificate whose serial number appears in the CRL file
+// configured on info. It is a no-op when CRLFile is empty. Any existing
+// VerifyConnection hook is called first and its error short-circuits.
+func (info TLSInfo) ConfigureCRLVerification(cfg *tls.Config) {
+ if len(info.CRLFile) == 0 {
+ return
+ }
+ crlFile := info.CRLFile
+ prev := cfg.VerifyConnection
+ cfg.VerifyConnection = func(cs tls.ConnectionState) error {
+ if prev != nil {
+ if err := prev(cs); err != nil {
+ return err
+ }
+ }
+ if len(cs.PeerCertificates) == 0 {
+ return nil
+ }
+ return checkCRL(crlFile, cs.PeerCertificates)
+ }
+}
+
func checkCRL(crlPath string, cert []*x509.Certificate) error {
// TODO: cache
crlBytes, err := os.ReadFile(crlPath)
Commit: 8221ae8
Backport of CRL verification fix for split gRPC listeners to the release-3.6 branch.
File: server/embed/serve.go
@@ -233,6 +233,14 @@ func (sctx *serveCtx) serve(
return tlsErr
}
+ // In gRPC-only mode the gRPC stack owns the TLS handshake (via grpc.Creds).
+ // Wrapping sctx.l with a second TLS listener would cause a double-TLS failure,
+ // so inject CRL checking into the TLS config before the gRPC server is created
+ // (gRPC clones the config at creation time).
+ if onlyGRPC {
+ tlsinfo.ConfigureCRLVerification(tlscfg)
+ }
+
if grpcEnabled {
gs = v3rpc.Server(s, tlscfg, nil, gopts...)
v3electionpb.RegisterElectionServer(gs, servElection)
Commit: 24838af
Backport of CRL verification fix and e2e test coverage to release branches.
Mitigation Strategies
- Upgrade etcd to patched maintenance releases (v3.5.32 or v3.6.13) that inject CRL verification directly into the Go crypto/tls.Config VerifyConnection callback.
- Consolidate HTTP and gRPC traffic onto the default multiplexed listener by removing the --listen-client-http-urls flag so that all connections pass through tlsListener.
- Enforce mutual TLS and CRL/OCSP verification on an upstream reverse proxy (such as Envoy or HAProxy) ahead of the etcd gRPC port.
- Rotate the trusted client Certificate Authority (--trusted-ca-file) and re-issue valid client certificates if a critical credential is compromised and CRL enforcement cannot be trusted.
Remediation Steps:
- Audit all etcd node startup manifests, systemd units, or Kubernetes static pod definitions (e.g., /etc/kubernetes/manifests/etcd.yaml) for the concurrent presence of --client-crl-file and --listen-client-http-urls.
- Perform a rolling upgrade of affected etcd nodes to version 3.5.32 (for 3.5.x deployments) or 3.6.13 (for 3.6.x deployments).
- Verify that CRL updates are written atomically (write to a temporary file and rename) so that concurrent gRPC TLS handshakes do not read partially truncated CRL files.
- Verify remediation by running etcdctl against the gRPC endpoint (--listen-client-urls) using a known-revoked client certificate and confirming that the TLS handshake is rejected.
References
- GitHub Security Advisory GHSA-3wh4-j44w-pg92
- NVD - CVE-2026-59818 Detail
- CVE.org Record: CVE-2026-59818
- etcd GitHub Pull Request #22007
- etcd GitHub Pull Request #22021
- etcd GitHub Pull Request #22025
- Fix Commit 2308ce1578064641d4d67c40f0487309267d1bef
- Fix Commit 8221ae82bc25d4d55ca64382207b69be71038cbb
- Fix Commit 24838af5a53dd0245adced920e42a9bf0e7a267f
- etcd Release v3.5.32
- etcd Release v3.6.13
- CVE List V5 Record for CVE-2026-59818
- Red Hat Security Advisory: CVE-2026-59818
- Red Hat Bugzilla #2548345
- Microsoft Security Response Center: CVE-2026-59818
Read the full report for CVE-2026-59818 on our website for more details including interactive diagrams and full exploit analysis.
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.