CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-59818

CVE-2026-59818: Improper Certificate Revocation List (CRL) Validation on Split gRPC Listeners in etcd

Amit Schendel
Amit Schendel
Senior Security Researcher

Nov 25, 2026·10 min read·6 visits

Executive Summary (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.

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.

Vulnerability Overview

etcd is a distributed, consistent key-value store used for shared configuration and service discovery, most notably serving as the primary backing store for Kubernetes cluster state. Client communication with etcd occurs over gRPC (for v3 API operations) and HTTP/REST (via the gRPC-gateway, metrics endpoints, and health checks). To secure these endpoints, etcd relies on mutual TLS (mTLS), authenticating clients via X.509 certificates signed by a trusted Certificate Authority (CA) along with optional Certificate Revocation Lists (CRLs) specified via the --client-crl-file flag.

By default, etcd multiplexes both gRPC and HTTP client traffic over a single TCP port defined by --listen-client-urls using the cmux connection multiplexing library. However, operators can decouple HTTP and gRPC traffic onto separate ports by specifying the --listen-client-http-urls configuration flag. This split-listener architecture is frequently deployed to isolate administrative gRPC operations from unauthenticated HTTP health probes or metrics scraping.

CVE-2026-59818 (tracked also as GHSA-3wh4-j44w-pg92 and classified under CWE-295: Improper Certificate Validation) occurs when etcd operates in this split-listener configuration alongside a configured CRL file. While the dedicated HTTP listener continues to evaluate incoming client certificates against the revocation list, the dedicated gRPC listener omits the CRL verification routine entirely.

As a consequence, the gRPC server validates only that the client certificate has an unexpired validity period and a valid cryptographic signature chaining back to the trusted CA (--trusted-ca-file). A client presenting a revoked certificate can successfully establish a TLS session over the gRPC endpoint and execute arbitrary key-value queries, state modifications, or cluster administration commands permitted by the certificate's identity.

Root Cause Analysis

The root cause of CVE-2026-59818 lies in the architectural coupling between etcd's custom network listener wrapper and its CRL verification logic, contrasted with how grpc-go manages TLS handshakes. Go's standard library crypto/tls package handles X.509 certificate chain verification natively during a TLS handshake, but it does not automatically parse or enforce disk-based CRL files. Instead, custom revocation verification in Go requires either wrapping the underlying net.Listener to inspect handshake state post-acceptance or registering a custom VerifyConnection callback on the tls.Config struct.

Historically, etcd implemented CRL verification inside a custom net.Listener wrapper named tlsListener, defined in client/pkg/transport/listener_tls.go. In the default combined-listener mode, etcd wraps the base TCP listener with tlsListener. Within tlsListener.acceptLoop(), each accepted connection completes its TLS handshake and immediately passes the peer certificates to checkCRL(crlPath, certs). Because cmux sits above this wrapped listener, both HTTP and gRPC connections pass through acceptLoop() and undergo CRL validation.

When --listen-client-http-urls is provided, etcd initializes two distinct serveCtx instances inside server/embed/serve.go: one exclusively for HTTP (onlyHTTP = true) and one exclusively for gRPC (onlyGRPC = true). When configuring the gRPC-only listener, the grpc.Server takes direct ownership of the TLS handshake via grpc.Creds(credentials.NewTLS(tlscfg)).

If etcd were to wrap the underlying sctx.l socket in tlsListener while also passing tlscfg to grpc.Creds(), a double-TLS termination failure would occur: tlsListener would perform the outer TLS handshake, and grpc.Server would attempt a second TLS handshake over the already-decrypted plaintext stream. To avoid this conflict, server/embed/serve.go bypassed tlsListener when onlyGRPC was true, passing the raw net.Listener and the generated *tls.Config (tlscfg) directly to v3rpc.Server().

Because the checkCRL invocation existed solely inside tlsListener.acceptLoop() and was never attached as a callback on the *tls.Config generated by tlsinfo.ServerConfig(), the tlscfg structure handed to the gRPC server contained only the ClientCAs root pool. The gRPC listener therefore executed standard Go mTLS verification without checking whether the client certificate's serial number appeared in --client-crl-file.

Code Analysis

In vulnerable versions of etcd (< 3.5.32 and >= 3.6.0-alpha.0, < 3.6.13), server/embed/serve.go generated the server's tls.Config via tlsinfo.ServerConfig() and passed it directly to v3rpc.Server when operating in onlyGRPC mode. Meanwhile, in client/pkg/transport/listener_tls.go, checkCRL was only reachable from tlsListener.acceptLoop().

The upstream patch (committed across 2308ce1578064641d4d67c40f0487309267d1bef, 8221ae82bc25d4d55ca64382207b69be71038cbb, and 24838af5a53dd0245adced920e42a9bf0e7a267f) resolves this discrepancy by decoupling CRL verification from tlsListener and binding it directly to the crypto/tls.Config lifecycle via Go's VerifyConnection hook.

First, the maintainers introduced the ConfigureCRLVerification method on the TLSInfo struct in client/pkg/transport/listener_tls.go:

// File: client/pkg/transport/listener_tls.go
 
// 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 {
		// Preserve and execute any previously registered VerifyConnection callback
		if prev != nil {
			if err := prev(cs); err != nil {
				return err
			}
		}
		// If no client certificates were presented, skip CRL check
		if len(cs.PeerCertificates) == 0 {
			return nil
		}
		// Validate presented peer certificates against the CRL file on disk
		return checkCRL(crlFile, cs.PeerCertificates)
	}
}

Second, server/embed/serve.go was updated to invoke ConfigureCRLVerification(tlscfg) specifically when onlyGRPC is true, prior to instantiating the gRPC server (since grpc.Creds clones the tls.Config at server initialization time):

// File: server/embed/serve.go
 
		tlscfg, tlsErr := tlsinfo.ServerConfig()
		if tlsErr != nil {
			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)

> [!NOTE] > Fix Completeness and Operational Considerations: While the patch completely closes the authentication bypass during new TLS handshakes on the split gRPC listener, three implementation details remain relevant for operators: > 1. Synchronous Disk I/O: checkCRL reads and parses the CRL file from disk (os.ReadFile(crlPath)) synchronously on every TLS handshake (// TODO: cache). High connection churn or intentional TLS handshake flooding against the gRPC port can trigger elevated disk I/O and CPU utilization from repeated ASN.1 parsing. > 2. Non-Atomic CRL Updates: Updating the CRL file in-place (rather than writing to a temporary file and executing an atomic filesystem rename) can cause transient read errors during concurrent handshakes. > 3. Long-Lived gRPC Streams: VerifyConnection executes only during the TLS handshake. If an active client certificate is added to the CRL while a persistent HTTP/2 gRPC connection or Watch stream is already established, etcd will not terminate the existing session until the TCP connection drops and a new TLS handshake is negotiated.

Exploitation Methodology

Exploiting CVE-2026-59818 requires no specialized memory corruption primitives or race conditions. The primary prerequisite is that the attacker possesses a client certificate and private key signed by the etcd cluster's trusted CA (--trusted-ca-file) that has subsequently been revoked and listed in the file pointed to by --client-crl-file. In practice, this scenario arises when a compromised node certificate, a decommissioned service credential, or an offboarded administrator's certificate is revoked via CRL rather than rotating the entire cluster root CA.

Consider a target etcd node launched with the following split-listener configuration:

etcd \
  --listen-client-urls=https://10.0.0.1:2379 \
  --listen-client-http-urls=https://10.0.0.1:2381 \
  --client-cert-auth=true \
  --trusted-ca-file=/etc/etcd/pki/ca.crt \
  --cert-file=/etc/etcd/pki/server.crt \
  --key-file=/etc/etcd/pki/server.key \
  --client-crl-file=/etc/etcd/pki/revoked.crl

In this topology, port 2381 serves HTTP client traffic (such as /v3/kv/range via the HTTP/JSON gateway or /metrics), while port 2379 serves pure gRPC client traffic. If the attacker attempts to query the HTTP listener on port 2381 using the revoked certificate (revoked-client.crt), tlsListener intercepts the handshake, matches the certificate's serial number against revoked.crl, and terminates the connection:

# Connection to the HTTP listener (--listen-client-http-urls) is properly blocked
curl --cacert ca.crt \
     --cert revoked-client.crt \
     --key revoked-client.key \
     -X POST https://10.0.0.1:2381/v3/kv/range \
     -d '{"key": "Zm9v"}'
# Result: TLS handshake failure / peer certificate revoked

To bypass the revocation check, the attacker simply targets the dedicated gRPC endpoint on port 2379 using etcdctl (which speaks native gRPC over HTTP/2) and presents the exact same revoked certificate and key:

# Connection to the gRPC listener (--listen-client-urls) bypasses CRL validation
ETCDCTL_API=3 etcdctl \
  --endpoints=https://10.0.0.1:2379 \
  --cacert=ca.crt \
  --cert=revoked-client.crt \
  --key=revoked-client.key \
  get "" --prefix

During the handshake on port 2379, the Go crypto/tls engine validates the signature of revoked-client.crt against ca.crt. Because ConfigureCRLVerification is missing in unpatched builds, the TLS handshake succeeds. If etcd role-based access control (RBAC) maps the certificate's Common Name (CN) to a privileged role (such as root or a Kubernetes control-plane identity like system:masters), the attacker gains full read and write access to the key-value store.

Impact Assessment

CVE-2026-59818 is assigned a CVSS v3.1 base score of 6.5 (Medium) with the vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N. The High Privileges Required (PR:H) metric reflects that an attacker cannot exploit this flaw arbitrarily from an unauthenticated position; they must first hold a cryptographically valid, unexpired client certificate signed by the cluster's trusted CA that has been placed on the CRL.

When this precondition is met, the Confidentiality (C:H) and Integrity (I:H) impacts are High. In etcd, the v3 gRPC API is the primary data and control plane. All key-value reads (Range), writes (Put, DeleteRange, Txn), lease operations, and RBAC administration (AuthEnable, UserAdd, RoleGrantPermission) are executed over gRPC. Bypassing CRL checks on the gRPC listener effectively nullifies certificate revocation for all primary database operations.

In environments such as Kubernetes where etcd stores cluster state, Secrets, ConfigMaps, and service account tokens, unauthorized gRPC access with a revoked client certificate allows an adversary to dump all cluster secrets or inject malicious workload manifests directly into the backing store. Notably, the Availability metric is scored as None (A:N) within the standard CVSS revocation-bypass rubric, though an attacker with write permissions according to the revoked certificate's RBAC role could delete keys or alter cluster membership.

From a threat intelligence perspective, the Exploit Prediction Scoring System (EPSS) assigns CVE-2026-59818 a score of 0.0043 (0.43%, 37.71st percentile), and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The low probability of widespread opportunistic exploitation correlates directly with the requirement for internal PKI material and a non-default --listen-client-http-urls configuration.

Remediation and Mitigation

To remediate CVE-2026-59818 permanently, operators must upgrade etcd clusters to a patched version that includes the ConfigureCRLVerification hook on split gRPC listeners:

  • For the 3.5.x release branch, upgrade to v3.5.32 or later.
  • For the 3.6.x release branch, upgrade to v3.6.13 or later.

After upgrading, note that existing persistent gRPC connections established prior to a certificate's revocation will remain active until re-handshaked. Operators revoking a compromised certificate should restart or cycle connections on the etcd listeners after updating the --client-crl-file to force all connected gRPC clients to perform a fresh TLS handshake.

If an immediate software upgrade is not feasible, operators can eliminate the exposure using one of the following architectural workarounds:

  1. Revert to Multiplexed Single-Listener Mode: Remove the --listen-client-http-urls flag from the etcd startup parameters. When etcd operates exclusively with --listen-client-urls, both HTTP and gRPC traffic are multiplexed through cmux over the custom tlsListener, which properly enforces --client-crl-file across both protocols.
  2. Enforce CRL Validation at an Upstream Reverse Proxy: Place a TLS-terminating reverse proxy or load balancer (such as Envoy, HAProxy, or NGINX with HTTP/2 and gRPC forwarding support) in front of the etcd gRPC listener. Configure the proxy to validate client certificates against the CRL or OCSP responder before proxying requests to etcd.
  3. Rotate the Trusted CA: If a compromised client certificate must be invalidated immediately on an unpatched split-listener cluster and --listen-client-http-urls cannot be removed, rotating the cluster's --trusted-ca-file and re-issuing active client certificates invalidates the compromised credential at the root signature check level.

Official Patches

etcd-ioOfficial GitHub Security Advisory for CVE-2026-59818 / GHSA-3wh4-j44w-pg92
etcd-ioetcd v3.5.32 Patched Release
etcd-ioetcd v3.6.13 Patched Release

Fix Analysis (3)

Technical Appendix

CVSS Score
6.5/ 10
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
EPSS Probability
0.43%
Top 62% most exploited

Affected Systems

etcd-io/etcd (< 3.5.32)etcd-io/etcd (>= 3.6.0-alpha.0, < 3.6.13)

Affected Versions Detail

Product
Affected Versions
Fixed Version
etcd
etcd-io
< 3.5.323.5.32
etcd
etcd-io
>= 3.6.0-alpha.0, < 3.6.133.6.13
AttributeDetail
Vulnerability ClassCWE-295: Improper Certificate Validation
CVSS v3.1 Score6.5 Medium (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N)
Attack VectorNetwork (gRPC endpoint with split HTTP listener enabled)
EPSS Score0.43% (37.71st Percentile)
Required Configuration--client-crl-file AND --listen-client-http-urls
Security ImpactmTLS Revocation Bypass / Unauthorized gRPC Access
Exploit StatusNone (No public PoCs or active exploitation)
CISA KEV StatusNot Listed

MITRE ATT&CK Mapping

T1557Adversary-in-the-Middle
Credential Access
CWE-295
Improper Certificate Validation

The software does not validate, or incorrectly validates, a certificate. In this instance, etcd validates the certificate authority chain against trusted root certificates, but omits validation against the revoked certificate serial list specified by --client-crl-file on its dedicated gRPC listener.

Vulnerability Timeline

Security auditing and fix preparation initiated for etcd split-listener CRL configuration.
2026-05-29
Initial upstream patch committed (2308ce1578064641d4d67c40f0487309267d1bef) introducing ConfigureCRLVerification.
2026-06-29
Pull requests #22007, #22021, and #22025 merged, backporting fixes to release-3.6 (8221ae82bc25d4d55ca64382207b69be71038cbb) and release-3.5 (24838af5a53dd0245adced920e42a9bf0e7a267f).
2026-07-01
GitHub Security Advisory GHSA-3wh4-j44w-pg92 and CVE-2026-59818 published alongside official releases of etcd v3.5.32 and v3.6.13.
2026-07-08
NVD record updated with CPE configurations and vulnerability scoring metadata.
2026-10-25

References & Sources

  • [1]GitHub Security Advisory GHSA-3wh4-j44w-pg92
  • [2]NVD - CVE-2026-59818 Detail
  • [3]CVE.org Record: CVE-2026-59818
  • [4]etcd GitHub Pull Request #22007
  • [5]etcd GitHub Pull Request #22021
  • [6]etcd GitHub Pull Request #22025
  • [7]Fix Commit 2308ce1578064641d4d67c40f0487309267d1bef
  • [8]Fix Commit 8221ae82bc25d4d55ca64382207b69be71038cbb
  • [9]Fix Commit 24838af5a53dd0245adced920e42a9bf0e7a267f
  • [10]etcd Release v3.5.32
  • [11]etcd Release v3.6.13
  • [12]CVE List V5 Record for CVE-2026-59818
  • [13]Red Hat Security Advisory: CVE-2026-59818
  • [14]Red Hat Bugzilla #2548345
  • [15]Microsoft Security Response Center: CVE-2026-59818

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•12 minutes ago•CVE-2026-59726
10.0

CVE-2026-59726: Unauthenticated Remote Code Execution in Ruflo MCP Bridge

Ruflo versions prior to 3.16.3 expose the Model Context Protocol (MCP) bridge HTTP endpoints (`POST /mcp` and `POST /mcp/:group`) on all network interfaces (`0.0.0.0:3001`) without authentication. Because the primary JSON-RPC tool dispatcher (`executeTool()`) bypasses existing tool blocklists, an unauthenticated network attacker can invoke the `terminal_execute` tool to achieve arbitrary command execution inside the bridge container. This initial access permits full exfiltration of third-party LLM provider API keys, unauthorized access to the co-located MongoDB instance, and manipulation of the AgentDB learning store.

Alon Barad
Alon Barad
2 views•2 min read
•about 2 hours ago•CVE-2026-59831
4.4

CVE-2026-59831: Remote Code Execution via Unvalidated URL Scheme Handling in GitHub CLI

GitHub CLI (gh) versions 2.10.0 through 2.95.0 contain an input validation vulnerability in the `gh codespace jupyter` command path. When connecting to a remote Codespace to launch a JupyterLab session, the CLI retrieves a server URL via a remote procedure call (RPC) and passes it directly to the host operating system's default URL dispatcher without validating the scheme or target host. A compromised or malicious Codespace can return a custom protocol URI, such as `vscode://` or `vscode-insiders://`, allowing an attacker to invoke local desktop application handlers and achieve arbitrary command execution on the developer's workstation.

Alon Barad
Alon Barad
8 views•9 min read
•about 3 hours ago•CVE-2026-59191
6.9

CVE-2026-59191: Path Traversal and Arbitrary File Read in CakePHP TwigView FileLoader

A path traversal vulnerability exists in the cakephp/twig-view plugin for the CakePHP framework prior to versions 1.3.3 and 2.1.2. The Cake\TwigView\Twig\FileLoader::findTemplate() method verifies template existence using PHP's native file_exists() function without ensuring the target path resides within configured application or plugin template directories. When user-controlled input is passed to template inclusion mechanisms, an unauthenticated remote attacker can read arbitrary local files accessible to the PHP runtime.

Alon Barad
Alon Barad
5 views•9 min read
•about 4 hours ago•CVE-2026-64855
8.2

CVE-2026-64855: Cryptographic Signature Verification Bypass in soapbar WS-Security Implementation

CVE-2026-64855 (GHSA-859w-52fx-hcm6) is a cryptographic signature verification and authentication bypass vulnerability in the soapbar Python library prior to version 0.13.0. In vulnerable versions, the verify_envelope_bsp() function derives its trust anchor directly from the incoming SOAP message by extracting an untrusted X.509 certificate embedded inside the wsse:BinarySecurityToken header. Because the function checks only the temporal validity of the extracted certificate without performing Certificate Authority (CA) chain validation or certificate pinning, an unauthenticated network attacker can generate a self-signed certificate, sign an arbitrary SOAP payload, and pass verification.

Amit Schendel
Amit Schendel
9 views•10 min read
•about 5 hours ago•GHSA-JP3C-6V3G-MPXV
6.5

GHSA-jp3c-6v3g-mpxv: Uncaught Runtime Panic via Integer Underflow in insomniacslk/dhcp BroadcastRawUDPConn

A denial-of-service vulnerability exists in the Go library github.com/insomniacslk/dhcp within the dhcpv4/nclient4 subpackage. In affected versions, the raw packet parsing function BroadcastRawUDPConn.ReadFrom subtracts the fixed 8-byte UDP header length from the IPv4 payload length declared in the packet header without first verifying that the declared payload length is at least 8 bytes. An unauthenticated attacker on an adjacent local network segment can broadcast or unicast a malformed IPv4 packet with a declared payload length between 0 and 7 bytes, causing a signed integer underflow that passes a negative slice bound into buf.Consume and triggers an unhandled Go runtime panic.

Amit Schendel
Amit Schendel
6 views•12 min read
•about 6 hours ago•CVE-2026-63305
8.1

CVE-2026-63305: OS Command Injection in WWBN AVideo Standalone FFmpeg Script

CVE-2026-63305 (GHSA-g9x9-q7qj-6mv5) is an operating system command injection vulnerability affecting WWBN AVideo (formerly YouPHPTube) versions up to and including 29.0. The defect resides in the standalone FFmpeg execution handler at plugin/API/standAlone/ffmpeg.json.php. When assembling asynchronous post-processing commands, the script concatenates the notifyCode and callback properties from a decrypted payload directly into a shell command string without sanitization. An attacker capable of providing or forging a valid encrypted execution payload can inject shell metacharacters to achieve remote code execution under the privileges of the web server user.

Alon Barad
Alon Barad
6 views•10 min read