Summary
elazarl goproxy versions before 1.9.4 generate RSA and Ed25519 leaf certificate private keys weakly. The source assigns a CVSS 4.0 score of 9.1 (critical severity).
What happened
The NewCounterEncryptorRandFromKey function derives RSA and Ed25519 leaf certificate private keys from public data due to misuse of hash.Sum (CWE-337). According to the description, an attacker who has the CA certificate and one observed leaf certificate can regenerate that host's leaf private key and impersonate the host to clients that trust the proxy CA.
Why it matters
Impersonating a host to clients that trust the proxy CA would undermine the authenticity of those connections. The source assigns a CVSS 4.0 score of 9.1 with the vector CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N (CNA: VulnCheck) and critical severity. CISA's KEV catalog does not list known exploitation of this vulnerability. The source does not state any evidence of active exploitation.
Affected products and versions
goproxy (elazarl): versions before 1.9.4 (< 1.9.4). Version 1.9.4 is listed as unaffected. Identifier: CVE-2026-133185.
| Product | Versions | Fixed in |
|---|---|---|
| elazarl goproxy | < 1.9.4 | — |
| elazarl goproxy | 1.9.4 | 1.9.4 |
Action recommended by the source
The vendor indicates that version 1.9.4 fixes the issue; the release notes and patch are referenced in the project repository (https://github.com/elazarl/goproxy/releases/tag/v1.9.4). The source does not state other mitigations.
Fixed in: 1.9.4
Sources and references
- https://github.com/elazarl/goproxy/pull/822 — CVE Program
- https://github.com/elazarl/goproxy/commit/c150a338c02550eedace75f4baad4f73c0605b3c — CVE Program
- https://github.com/elazarl/goproxy/releases/tag/v1.9.4 — CVE Program
- https://github.com/elazarl/goproxy/blob/v1.9.3/internal/signer/counterecryptor.go#L37-L44 — CVE Program
- https://github.com/elazarl/goproxy — CVE Program
- https://www.vulncheck.com/advisories/elazarl-goproxy-before-1.9.4-predictable-mitm-leaf-certificate-private-keys — CVE Program
Weaknesses (CWE): CWE-337
Relevant change history
Advisory correction
The preliminary version was replaced by the full write-up.
Published
Preliminary advisory published.