Dev.to Security 🔐 Cybersecurity 👁 0 📖 2 min read

etcd's split listeners disagreed about revoked client certificates

etcd's split listeners disagreed about revoked client certificates etcd can split HTTP and gRPC client traffic across separate listeners with --listen-client-http-urls. In affected versions, the HTTP endpoint enforced

etcd's split listeners disagreed about revoked client certificates

etcd can split HTTP and gRPC client traffic across separate listeners with --listen-client-http-urls. In affected versions, the HTTP endpoint enforced the configured certificate revocation list while the gRPC listener did not.

A client with a revoked certificate could be rejected on one interface and authenticate on the other. The issue is CVE-2026-59818. etcd versions through 3.6.12 and through 3.5.31 are affected. The fixed releases are 3.6.13 and 3.5.32. GitHub rates the advisory Moderate with a CVSS score of 6.5.

The certificate was valid, and revoked

Certificate revocation is a stateful decision. A certificate can have correct dates, a valid chain and an identity that was once authorized, while still being revoked after a key compromise or an employee departure.

When two listeners make different decisions about the same client certificate, the deployment has no single authentication boundary. The HTTP listener might reject the connection while the gRPC listener accepts it. An attacker who holds a revoked certificate only needs a route to the listener that skipped the CRL.

The configuration that exposes the gap is specific, which helps remediation. Inventory etcd deployments that use separate client HTTP and gRPC URLs. Check the effective arguments on each process, including systemd overrides, Kubernetes arguments, container command arrays and managed service templates.

Upgrade and verify both paths

Upgrade to etcd 3.6.13 or 3.5.32. After the upgrade, test a revoked certificate against both endpoints. A successful rejection on HTTP is not enough. The gRPC test should confirm that the handshake fails and that the service does not accept an authenticated watch, KV or maintenance request.

Restrict client ports with firewall rules or network policy while the upgrade is pending. The advisory recommends this as a limiting measure. It reduces the population that can reach the gRPC listener, but it does not make a revoked certificate trustworthy.

Review certificate revocation operations as a separate workflow. Confirm that the CRL file is current, readable by the process after restart and refreshed on the expected schedule. A stale CRL can produce a similar operational failure even after the software is patched. Monitor file modification time, parse errors and process restart results.

What a revoked client could reach

etcd is a control-plane dependency. An authenticated client may read cluster state, alter keys, create watches or affect leases depending on its roles and the deployment's authorization layer. Treat the issue as a path to identity reuse rather than a generic TLS nuisance.

Search audit and access logs for successful gRPC activity from certificates that should have been revoked. Rotate the revoked identity's keys and any secrets it could read. If the old certificate was copied into an automation system, update the secret store and restart consumers so they do not silently continue using the old material.

Document which listener is intended for each client class. Health checks, controllers and operators should not discover an alternate route that bypasses the intended policy.

References

📰 Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.