
PEACH
Un framework di isolamento del tenant
CVE-2026-125336 is an improper certificate validation vulnerability in node-forge (also called Forge), a native JavaScript implementation of Transport Layer Security. The flaw exists in pki.verifyCertificateChain() within lib/x509.js, which fails to decode or enforce the X.509 nameConstraints extension (OID 2.5.29.30) during certificate path validation. All versions up to and including 1.4.2 are affected; the issue was disclosed on November 4, 2026, and fixed in version 1.4.3. It carries a CVSS v3.1 base score of 7.4 (High) (GitHub Advisory, Feedly).
The root cause is classified as CWE-295 (Improper Certificate Validation). RFC 5280 path validation steps 6.1.3(b) and (c) — which check each certificate's names against the permitted and excluded subtrees defined by CA certificates above it — were never implemented in pki.verifyCertificateChain(), and the nameConstraints extension was not decoded at all. As a result, a non-critical nameConstraints extension is silently ignored: an intermediate CA constrained to only .example.com can issue a leaf certificate with CN=evil.com or a subjectAltName dNSName evil.com, and node-forge accepts the chain as valid. Notably, chains with a critical nameConstraints extension were previously rejected as an unsupported critical extension (fail-safe), so only non-critical extensions are exploitable. The CA/Browser Forum Baseline Requirements historically permitted technically constrained subordinate CAs to mark this extension non-critical, meaning such CAs exist in real-world PKI hierarchies. A proof-of-concept is included in the advisory and in the repository at tests/pocs/GHSA-3cc4-3294-vgjf.js (GitHub Advisory, Forge PR #1169).
Successful exploitation allows an attacker to obtain TLS certificates that node-forge accepts for arbitrary domain names, enabling impersonation of any host to a forge.tls client. The primary impacts are high confidentiality loss (interception of TLS-protected communications) and high integrity loss (man-in-the-middle attacks, forged server identity), with no availability impact. Applications relying on pki.verifyCertificateChain() or forge.tls for peer verification are at risk of accepting fraudulent certificates, potentially exposing sensitive data or allowing unauthorized actions on behalf of impersonated services (GitHub Advisory).
A proof-of-concept is publicly available in the GitHub Security Advisory and the node-forge test suite, with concrete reproduction steps described (GitHub Advisory). Exploitation is not automated — it requires the attacker to possess the private key of a name-constrained CA that chains to a root trusted by the target application, or the ability to obtain a certificate issued under such a CA, making it a high-complexity attack. There is no evidence of in-the-wild exploitation at this time, and no threat actor attribution has been reported. The EPSS score is approximately 0.0023 (low probability of near-term exploitation), and the vulnerability is not listed in the CISA KEV catalog (Feedly).
forge.tls) or certificate chain validation (pki.verifyCertificateChain()), and confirm it trusts a root CA under which a name-constrained intermediate CA with a non-critical nameConstraints extension exists.CN=evil.com (no subjectAltName) or with a subjectAltName dNSName evil.com — a name outside the CA's permitted subtrees.[leaf, intermediate] to the victim's node-forge verification routine. On versions <= 1.4.2, pki.verifyCertificateChain(caStore, [leaf, intermediate]) returns true because the nameConstraints extension is not enforced.forge.tls client, enabling man-in-the-middle interception or data manipulation (GitHub Advisory).CN or subjectAltName does not match the domain permitted by the issuing intermediate CA's nameConstraints extension; TLS sessions established with certificates issued by an intermediate CA for domains outside its delegated namespace.bad_certificate errors in node-forge logs where name constraint violations would be expected on a patched system..pem, .crt, .cer) with subject names inconsistent with the issuing CA's nameConstraints extension in application certificate stores or temporary directories.package.json or node_modules/node-forge/package.json showing version < 1.4.3) in environments that perform TLS peer verification (GitHub Advisory).Upgrade node-forge to version 1.4.3 or later, which enforces nameConstraints in verifyCertificateChain() for subject DN, emailAddress, subjectAltName (rfc822Name, dNSName, directoryName, uniformResourceIdentifier, iPAddress), and the trust anchor (Forge Release v1.4.3, Forge PR #1169). As a temporary workaround (which rejects all chains below any name-constrained CA, including valid ones), pass a custom options.verify callback to pki.verifyCertificateChain() (or verify to forge.tls.createConnection()) that returns an error when any CA certificate in the chain has an extension with OID 2.5.29.30. Organizations should prioritize patching systems using forge for TLS client operations and review certificate chains in production environments for potential misuse (GitHub Advisory).
The vulnerability was reported by security researcher @bhaswanthc, who also contributed the initial implementation of the fix, and was published with AI assistance according to the advisory (GitHub Advisory). The fix was developed in coordination with the digitalbazaar maintainer @davidlehn and validated against OpenSSL 3.5.5 across 62 curated chains and 2,600 random constraint/name combinations. No significant broader media coverage or notable social media reactions have been identified beyond the GitHub advisory and standard vulnerability database entries.
Disponibilità delle patch per le principali distribuzioni Linux e relative versioni.
Fonte: Questo report è stato generato tramite IA
Valutazione gratuita delle vulnerabilità
Valuta le tue pratiche di sicurezza del cloud in 9 domini di sicurezza per stabilire un benchmark del tuo livello di rischio e identificare le lacune nelle tue difese.
Richiedi una demo personalizzata
"La migliore esperienza utente che abbia mai visto offre piena visibilità ai carichi di lavoro cloud."
"Wiz fornisce un unico pannello di controllo per vedere cosa sta succedendo nei nostri ambienti cloud."
"Sappiamo che se Wiz identifica qualcosa come critico, in realtà lo è."