CVE-2026-133185: Elazarl goproxy before 1.9.4 Predictable MITM Leaf Certificate Private Keys
Goproxy before 1.9.4 contains a weak key generation vulnerability in NewCounterEncryptorRandFromKey that derives RSA and Ed25519 leaf certificate private keys from public data due to misuse of hash.Sum. Attackers with the CA certificate and one observed leaf certificate can regenerate that host's leaf private key and impersonate the host to clients trusting the proxy CA.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to impersonation attacks?
Clients that trust a goproxy CA are exposed if the proxy uses an affected version and an attacker can obtain the CA certificate plus an observed leaf certificate for the target host. The attacker can regenerate that host's leaf private key and impersonate it to those clients.
What does an attacker need to exploit this issue?
The attacker needs the proxy CA certificate and one observed leaf certificate for the host they want to impersonate. No client interaction or prior privileges are required, although the attack complexity is rated high.
Which key types are affected?
The vulnerable key derivation affects both RSA and Ed25519 leaf certificate private keys generated through NewCounterEncryptorRandFromKey.
What version fixes the issue?
Upgrade goproxy to version 1.9.4 or later. Versions before 1.9.4 are affected.