Goproxy: Weak leaf certificate key generation (CVE-2026-133185)
Goproxy versions prior to 1.9.4 contain a vulnerability in the NewCounterEncryptorRandFromKey function that allows attackers to regenerate leaf certificate private keys and perform impersonation attacks.
CVE search metadata
CVE search record: CVE-2026-133185. Severity: high. CVSS: 7.4. KEV: no. Product: goproxy. Brief: Goproxy: Weak leaf certificate key generation (CVE-2026-133185). Brief link: https://feed.craftedsignal.io/briefs/2026-11-goproxy-weak-key-generation-cve-2026-133185/
Triage facts
Revision 2- Applicability
- goproxy
- Evidence
- Unknown
- Severity
- Critical
- Action
- Elevated
- Sources
- 3 public sources
- Freshness
- Revision 2Nov 20, 06:31 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A1Very likely
Revision history 1 entry · Revision 2
- Revision 2
severity → critical; poc_available
Changed: has_poc, lastmod, poc_references, priority_signals, references, severity, tags, updates
Sources: 1
Overview
Goproxy versions before 1.9.4 are susceptible to a weak key generation vulnerability within the NewCounterEncryptorRandFromKey function. The issue stems from the misuse of hash.Sum, which causes RSA and Ed25519 leaf certificate private keys to be derived from public data.
Impact
An attacker who possesses the CA certificate and has observed at least one leaf certificate can regenerate the corresponding host's private key. This allows the attacker to impersonate the host to any client that trusts the proxy CA, facilitating seamless adversary-in-the-middle attacks.
Recommendation
- Upgrade Goproxy to version 1.9.4 or later immediately.
- Audit existing leaf certificates generated by older versions of Goproxy if they are accessible to untrusted parties or cached in insecure environments.
- Rotate the proxy CA certificate if there is any suspicion that leaf certificate private keys have been compromised due to this vulnerability.
Threat Hunt
Identify proxy leaf certificate issuance patterns where keys may have been derived using the vulnerable NewCounterEncryptorRandFromKey logic by comparing observed leaf keys against known public data inputs associated with Goproxy instances.
Data: certificate_issuance_logs, proxy_configuration_details, public_certificate_metadata
Mitigations
Upgrade Goproxy to version 1.9.4 or later.
Gaps
- No known Sigma detection for cryptographic key derivation patterns in Go; rely on version management.