CVE-2026-125336
CVE-2026-125336 — Forge: X.509 nameConstraints not enforced by verifyCertificateChain()
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.3, pki.verifyCertificateChain() in lib/x509.js does not decode or enforce the X.509 nameConstraints extension while validating certificate paths. A name-constrained certificate authority with a non-critical extension can therefore issue a leaf certificate with a subjectAltName dNSName or subject commonName outside a permitted subtree or inside an excluded subtree, and node-forge accepts the chain. Exploitation requires a name-constrained CA that chains to a trusted root and either its private key or the ability to obtain an out-of-scope certificate, allowing impersonation of names outside the delegated namespace, including against forge.tls clients. Chains without nameConstraints are not affected, and affected versions safely reject critical nameConstraints as unsupported…
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
7.4
HIGH
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
PoC
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 7.4 | CVSS 3.1 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-295
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /x509.js.
References
5 on the record
- github.com/digitalbazaar/forge/security/advisories/GHSA-3cc4-3294-vgjf
x_refsource_CONFIRM
- github.com/digitalbazaar/forge/pull/1169
x_refsource_MISC
- github.com/digitalbazaar/forge/commit/6b23eae8beac316b6867bdb0e7ad7c2c959a97f6
x_refsource_MISC
- github.com/digitalbazaar/forge/commit/862aa5f630bdf40b0dfda408d6ac357bf35a7d6b
x_refsource_MISC
- github.com/digitalbazaar/forge/releases/tag/v1.4.3
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-85102 Improper Certificate Validation in Quantum Security GatewayCVSS 9.8 · CISA KEV
- CVE-2022-26923 Microsoft Active Directory Domain Services Privilege Escalation VulnerabilityCVSS 9.0 · CISA KEV
- CVE-2020-0601 Microsoft Windows CryptoAPI Spoofing VulnerabilityCVSS 8.1 · CISA KEV
- CVE-2022-20703 Cisco Small Business RV Series Routers Stack-based Buffer Overflow VulnerabilityCVSS 8.0 · CISA KEV
- CVE-2023-20963 Android Framework Privilege Escalation VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2023-41991 Apple Multiple Products Improper Certificate Validation VulnerabilityCVSS 5.5 · CISA KEV
Elsewhere on this site
- Digitalbazaarevery CVE for this vendor
- CWE-295other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.