Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain proxy CA cert and observe target leaf cert
-
DeliveryRecompute deterministic key stream from public data
-
ExploitRegenerate leaf RSA/Ed25519 private key
-
ExecutionImpersonate host with forged TLS server
-
ImpactIntercept or alter client traffic
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Unpredictable PRNG seeds
|
| Exploitation Conditions | Exploitation requires that goproxy (before 1.9.4) is deployed in its TLS man-in-the-middle/certificate-signing mode where it generates per-host leaf certificates via NewCounterEncryptorRandFromKey, and that clients are configured to trust the proxy's CA. The attacker must obtain the proxy's CA certificate and observe at least one leaf certificate issued for a target host; because leaf private keys are derived deterministically from public data, these public artifacts are sufficient to regenerate the leaf private key. Limiting factors: the flaw is only relevant when goproxy performs TLS interception/signing (not for plain-proxy use), the attacker needs both the CA certificate and an observed leaf certificate (reflected in CVSS AC:H/AT:P), and only versions before 1.9.4 are affected - upgrading to v1.9.4, which hashes the key material correctly, removes the predictability. |
| Impact | This is a genuine high-priority cryptographic flaw, not a CVSS-inflated issue. The vendor CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N) with VC:H/VI:H reflects a network-reachable, unauthenticated weakness whose practical exploitation carries a non-trivial attack requirement (AT:P) and high complexity (AC:H) - consistent with the description, which requires the attacker to first obtain the proxy's CA certificate and observe one leaf certificate. The vuln.today Decision label is act_now, and the issue was reported by VulnCheck with a dedicated advisory, both of which raise priority. Counter-signals: there is NO CISA KEV listing and NO EPSS score in the provided data, and no confirmed working exploit code, so there is no evidence of active or widespread exploitation yet - the current urgency is driven by the Decision label and the clarity of the root cause (confirmed by the source diff), not by observed attacks. The root cause is well-established: NewCounterEncryptorRandFromKey misuses hash.Sum (sha256.New().Sum(keyBytes) appends the empty-hash digest to keyBytes rather than hashing it), so leaf RSA/Ed25519 private keys are derived deterministically from public inputs. Bottom line: a real priority for any deployment running goproxy in TLS-intercepting mode, tempered by the AC:H/AT:P prerequisites that make this targeted rather than mass-exploitable. |
| Exploit ScenarioDerived | An attacker who holds the proxy's (public) CA certificate and has observed a single leaf certificate issued by a goproxy instance before 1.9.4 recomputes the deterministic key-generation stream and reconstructs that host's leaf private key. Using the recovered private key, the attacker stands up a server that presents a valid-looking certificate and impersonates the host to any client configured to trust the proxy CA, enabling interception or modification of TLS traffic. No confirmed working exploit code is identified in the provided data, though VulnCheck published a technical advisory and the vulnerable code path is public. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 19, 2026
GoProxy before 1.9.4 generates TLS man-in-the-middle leaf certificate private keys in a predictable way: the deterministic random stream used to mint per-host keys is seeded incorrectly, so the resulting RSA or Ed25519 leaf private keys can be reconstructed from public artifacts. An unauthenticated remote attacker who holds the proxy's CA certificate and has observed at least one leaf certificate issued for a target host can regenerate that host's private key and impersonate it to any client that trusts the proxy CA (high confidentiality and integrity impact, no availability impact). The flaw only matters when GoProxy runs in its TLS interception/signing mode; no public exploit code was identified at time of analysis, but the vendor fix and the public source diff make the weakness straightforward to understand, and the project's own advisory treats this as a high-priority cryptographic defect.
RemediationAI
Upgrade to goproxy v1.9.4, which replaces the misused h.Sum calls with sha256.Sum256 over the full key bytes and seed, removing the predictability; the fix is available as PR https://github.com/elazarl/goproxy/pull/822 and commit https://github.com/elazarl/goproxy/commit/c150a338c02550eedace75f4baad4f73c0605b3c, with the release at https://github.com/elazarl/goproxy/releases/tag/v1.9.4 and the advisory at https://www.vulncheck.com/advisories/elazarl-goproxy-before-1.9.4-predictable-mitm-leaf-certificate-private-keys. Because pre-1.9.4 leaf private keys are recoverable from public data, treat certificates issued by an affected proxy as compromised and reissue them from a patched build; this is the direct consequence of the flaw rather than a separate vendor instruction. Deployments that do not need TLS interception can reduce exposure by not running GoProxy in certificate-signing mode, since the vulnerable code path is only reached when the proxy mints leaf certificates, but that removes the interception capability entirely and is a functional trade-off rather than a complete substitute for upgrading.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
GoProxy's internal/signer package builds a CounterEncryptorRand - an AES-CTR keystream generator - from the CA key material and a seed in NewCounterEncryptorRandFromKey, and then draws the leaf key pair from that stream. The bug is a misuse of Go's hash.Hash.Sum API: h.Sum(b) appends the current digest to b rather than hashing b, so the code sliced the leading bytes of the marshalled key and of the seed directly instead of using a digest over them, collapsing the effective entropy feeding the cipher and making the derived per-host key material a function of data that an observer can obtain. The upstream fix (PR #822, commit c150a338) replaces both calls with sha256.Sum256(keyBytes) and sha256.Sum256(seed) and adds TestCounterEncDependsOnWholeKeyAndSeed, which asserts that different keys and different seeds no longer produce identical streams. This maps to CWE-337 (Predictable Seed in Pseudo-Random Number Generator), applied here to certificate-key generation rather than to a network PRNG. The CPE cpe:2.3:a:elazarl:goproxy:*:*:*:*:*:*:*:* captures all builds prior to the 1.9.4 release. The assessed attack complexity is high and attack requirements are present because exploitation depends on a specific deployment mode (TLS interception with a trusted CA) and on the attacker already possessing the CA certificate plus an observed leaf certificate; the trigger path beyond that is exactly as described in the vendor advisory and the source diff.
Know when Goproxy gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable and derivable from public data so PR:N, but requiring the CA plus an observed leaf certificate makes it AC:H; impersonation enables interception (C:H) and spoofing (I:H) with no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Executive ViewAI
GoProxy versions before 1.9.4 contain a critical cryptographic flaw in TLS interception mode that allows attackers to reconstruct private keys for any intercepted host, enabling impersonation of internal services to clients trusting the GoProxy CA. Organizations using GoProxy for TLS inspection expose all intercepted traffic to potential decryption and man-in-the-middle attacks, undermining the confidentiality and integrity of internal communications and requiring immediate leadership attention.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-130067
GHSA-6fp4-hqc8-g8px
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB