X.509 Certificate Path Validation Issue in Node-Forge by Digital Bazaar
CVE-2026-125336

7.4HIGH

Key Information:

Status
Vendor
CVE Published:
10 November 2026

What is CVE-2026-125336?

Node-Forge, a JavaScript library implementing Transport Layer Security, contains a vulnerability in its certificate validation mechanism. Specifically, prior to version 1.4.3, the function pki.verifyCertificateChain() fails to correctly decode the X.509 nameConstraints extension. This oversight allows a name-constrained certificate authority to issue leaf certificates with subject names that may violate the specified name constraints. As a result, attackers who control such a CA can impersonate entities outside a permitted namespace. The affected versions do not enforce the necessary checks, leading to potential security breaches. This issue has been resolved in version 1.4.3, which correctly handles nameConstraints, ensuring that any critical constraints are rejected.

Affected Version(s)

forge < 1.4.3

References

CVSS V3.1

Score:
7.4
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.