CVE-2026-133185
Goproxy before 1.9.4 contains a weak key generation vulnerability in NewCounterEncryptorRandFromKey that derives RSA and Ed25519 leaf certificate private keys …
Impact
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.
An attacker can exploit this over the network, without logging in, 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.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Elazarl | Goproxy | before 1.9.4 |
| Snail007 | Goproxy | before 1.9.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/elazarl/goproxy/pull/822
- https://github.com/elazarl/goproxy/commit/c150a338c02550eedace75f4baad4f73c0605b3c
- https://github.com/elazarl/goproxy/releases/tag/v1.9.4
- https://github.com/elazarl/goproxy/blob/v1.9.3/internal/signer/counterecryptor.go#L37-L44
- https://github.com/elazarl/goproxy
- https://www.vulncheck.com/advisories/elazarl-goproxy-before-1.9.4-predictable-mitm-leaf-certificate-private-keys
- https://github.com/advisories/GHSA-6fp4-hqc8-g8px
- https://nvd.nist.gov/vuln/detail/CVE-2026-133185