Elevated
forge does not enforce X.509 nameConstraints, letting fake certificates pass
CVE-2026-125336 and 4 more
Apps using this JavaScript encryption part can be fooled by fake servers.
- CVE
- CVE-2026-125336 and 4 more
- Score
- CVSS 7.4 · CVE-2026-125336
- First seen
7.4
Products
Disclosed together forge
Mitigation
Update forge to 1.4.3. This update fixes all of the flaws listed here.
Summary
forge's X.509 certificate check does not enforce name constraints (nameConstraints), so a certificate for a name outside a constrained CA's allowed names can still pass. The same update also fixes TLS client crashes, a denial of service in response handling, and a signature check flaw.
Exploit code is public
Affected when
- CVE-2026-125336 a CA with a non-critical nameConstraints extension is in the trust chain
- CVE-2026-125336 the attacker holds that CA's private key or can obtain a certificate under it
- CVE-2026-125332, CVE-2026-125334 forge.tls used as a client and connection.process() exceptions are not caught
- CVE-2026-125333 forge.http used with a socket pool to talk to an untrusted server
- CVE-2026-125335 the attacker can choose the public key being verified
2 other Incidents of this product in the last 30 days
Incidents by product: forge
Other recent Incidents of forge
5 CVEs (every link below opens in a new tab)
Read the advisory · github.com (opens in a new tab)
Each of the 5 CVEs (every link below opens in a new tab)
- CVE-2026-125336Ignores name limits, so fake certificates for disallowed names can pass. CVSS 7.4
- CVE-2026-125332An attacker can alter a server reply and force the app to shut down. CVSS 5.9
- CVE-2026-125334Data received while the connection has no session can stall the app. CVSS 5.9
Show 2 more
- CVE-2026-125333A response header with a long run of spaces can freeze the program for minutes. CVSS 5.9 CVE-2026-125333 advisory
- CVE-2026-125335Signatures made with specific public keys can pass verification. CVSS 3.7