# CVE-2026-133185: Elazarl goproxy before 1.9.4 Predictable MITM Leaf Certificate Private Keys

Source: https://aplosec.si/cve/CVE-2026-133185/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-133185

Critical 9.1 · Reported · Fixed in 1.9.4 · CWE-337 · Go

# Elazarl goproxy before 1.9.4 Predictable MITM Leaf Certificate Private Keys

CVE-2026-133185 · published 2026-11-19

## Summary

CVE-2026-133185 affects goproxy (Go) < 1.9.4: deriving MITM leaf certificate RSA and Ed25519 private keys from public data through NewCounterEncryptorRandFromKey, so anyone can recompute them (CWE-337). Fixed in 1.9.4. CVSS 4.0 base score 9.1 (Critical), assigned by VulnCheck. Published 2026-11-19 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

Upgrade goproxy to 1.9.4 or later. Releases in the affected range (< 1.9.4) are vulnerable. See the linked advisory for details on affected release lines.

## Timeline

- 2026-11-19 CVE published

## References

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/elazarl-goproxy-before-1.9.4-predictable-mitm-leaf-certificate-private-keys](https://www.vulncheck.com/advisories/elazarl-goproxy-before-1.9.4-predictable-mitm-leaf-certificate-private-keys)

- [Fix pull requesthttps://github.com/elazarl/goproxy/pull/822](https://github.com/elazarl/goproxy/pull/822)

- [Fix commithttps://github.com/elazarl/goproxy/commit/c150a338c02550eedace75f4baad4f73c0605b3c](https://github.com/elazarl/goproxy/commit/c150a338c02550eedace75f4baad4f73c0605b3c)

- [Vulnerable codehttps://github.com/elazarl/goproxy/blob/v1.9.3/internal/signer/counterecryptor.go#L37-L44](https://github.com/elazarl/goproxy/blob/v1.9.3/internal/signer/counterecryptor.go#L37-L44)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-133185](https://www.cve.org/CVERecord?id=CVE-2026-133185)

- [NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-133185](https://nvd.nist.gov/vuln/detail/CVE-2026-133185)

**Severity:** Critical 9.1 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-133185)

**Package:** goproxy

**Ecosystem:** Go

**Affected:** < 1.9.4

**Fixed:** 1.9.4

**Weakness:** CWE-337

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
