Improper Certificate Validation in node-forge - CVE-2026-125336

 

Improper Certificate Validation in node-forge - CVE-2026-125336

Published: November 6, 2026 / Updated: November 11, 2026


Vulnerability identifier: #VU159785
CSH Severity: Medium
CVSS v4: 9.1 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-125336
CWE-ID: CWE-295
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an unauthenticated remote attacker to impersonate hosts to applications using node-forge for TLS peer verification.

The vulnerability exists due to missing enforcement of non-critical X.509 nameConstraints extensions during certificate chain validation in pki.verifyCertificateChain(). An unauthenticated remote attacker can use a constrained CA's private key or a certificate issued under that CA to authenticate a prohibited name when the CA chains to an application-trusted root.


Affected software

node-forge

How to mitigate CVE-2026-125336

Install security update from vendor's website.

node-forge - update to 1.4.3

External References

Related Security Bulletins