CVE-2026-115539
SwarmKit's Cluster-API proxy can overwrite a forwarded client's TLS identity with an intermediary manager's identity.
Impact
SwarmKit's Cluster-API proxy can overwrite a forwarded client's TLS identity with an intermediary manager's identity. WithMetadataForwardTLSInfo replaces outgoing metadata with a copy of the incoming metadata, discarding the redirect guard's changes when built with grpc-go 1.39 or later. During a short window after a leader change, two proxy hops through managers with inconsistent views of the leader can allow an attacker possessing a valid worker node TLS certificate and private key to obtain a manager node certificate for the attacker's own key, escalating privileges from worker to manager. Applications built with an affected SwarmKit version and grpc-go 1.39 or later are impacted.
An attacker can exploit this over the network, with a regular user account, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Docker | Docker Engine | from 23.0.0 before * |
| Moby | Moby | through 2.0.0-beta.28 Version 0 ≤2.0.0-beta.28 |
| Moby | SwarmKit | before 2.1.3 from 1.12.1-0.20220307221335-616e8db4c3b0 before * |