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

 

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

Published: November 6, 2026


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

Vulnerability details

The vulnerability allows an unauthenticated remote attacker to make applications accept certificate chains exceeding trusted CA path length constraints.

The vulnerability exists due to node-forge's forge.pki.verifyCertificateChain() skipping pathLenConstraint enforcement when a CA certificate lacks keyUsage. An unauthenticated remote attacker can use that CA's private key or a CA certificate obtained from it to present subordinate CA chains that validate despite exceeding the constraint, provided the constrained CA chains to a root trusted by the application.


Affected software

node-forge

How to mitigate CVE-2026-119189

Install security update from vendor's website.

node-forge - update to 1.4.1

External References

Related Security Bulletins