Bug 2570463 (CVE-2026-125336)

Summary: CVE-2026-125336 node-forge: node-forge: Certificate validation bypass via unenforced X.509 name constraints
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: abarbaro, akostadi, alizardo, amasferr, amctagga, aoconnor, aruklets, bbrownin, bcaton, bniver, cdrage, csuconic, dbruscin, dhanak, dmayorov, doconnor, drosa, dsimansk, eshamard, flucifre, fmariani, gmalinko, gmeno, groman, gtully, janstey, jchui, jhe, jkrystof, jlanda, jlledo, jsherman, jvasik, jwon, kaycoth, kingland, kshier, ktsao, kvanderr, lchilton, mbenjamin, mcarlett, mhackett, mnovotny, nboldt, oaljalju, pantinor, pdelbell, pjindal, psrna, rblanco, rbobbitt, rgemmell, rgodfrey, rhel-process-autobot, rstepani, rushinde, sausingh, sfeifer, shudeshp, simaishi, sostapov, stcannon, tbish, tcunning, tlavocat, tmielke, tsedmik, tzimanyi, vereddy, watson-tool-maintainers, yfang, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in node-forge. The certificate verification process fails to decode and enforce the X.509 name constraints extension when validating certificate paths containing non-critical constraints. A remote attacker with access to a restricted Certificate Authority (CA) can exploit this issue to issue and present certificates for unauthorized domain names. Successful exploitation allows the attacker to bypass certificate validation, enabling host impersonation and interception of encrypted traffic against Transport Layer Security (TLS) clients.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-11-10 20:00:09 UTC
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 rather than accepting them. This issue is fixed in version 1.4.3.