Skip to main content

GoProxy EUVDEUVD-2026-130067

| CVE-2026-133185 CRITICAL
Predictable Seed in Pseudo-Random Number Generator (PRNG) (CWE-337)
2026-11-19 VulnCheck GHSA-6fp4-hqc8-g8px
9.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain proxy CA cert and observe target leaf cert
  2. Delivery
    Recompute deterministic key stream from public data
  3. Exploit
    Regenerate leaf RSA/Ed25519 private key
  4. Execution
    Impersonate host with forged TLS server
  5. Impact
    Intercept 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

goproxy 0 <1.9.4

Affected Packages

euvd goproxy fix: 1.9.4

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

Vendor (VulnCheck) PRIMARY 9.1 CRITICAL
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
vuln.today AI 7.4 HIGH

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Red Hat 7.4 HIGH

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 77% exploitable
Prevalence
Medium
popular open-source Go MITM/proxy library, but limited to TLS-intercepting proxy deployments
Data Quality
4 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy