Vulnerability
CVE-2026-119189
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, node-forge enforced an X.509 CA certificate's basicConstraints.pathLenConstraint only when that certificate also carried a keyUsage extension. Exploitation requires a path-length-constrained CA without keyUsage that chains to a root trusted by the application, and an attacker who holds that CA's private key or obtains a subordinate CA certificate from it. The attacker could then construct a chain exceeding the declared path length that still passed pki.verifyCertificateChain(). Public web PKI CA certificates normally include keyUsage; private PKIs with CA certificates created without it are more likely to be affected. This issue is fixed in version 1.4.1.
14 advisories report this vulnerability, across 5 ecosystems.
Advisories
-
AZL-112463
CVE-2026-119189 affecting package python-tensorboard 2.16.2-6
- CGA-2c5j-g4gr-w5jp
- CGA-7f6p-6xv5-jfgj
- CGA-9q3w-4jm8-89wf
- CGA-cr93-rwx6-x8g2
- CGA-f863-g6v7-675f
- CGA-p622-7h48-fjrq
- CGA-q225-wv83-r467
- CGA-qf33-g22w-cchh
- CGA-r5jj-86wg-62v4
- CGA-wfv3-xgm4-c8x7
-
GHSA-h46v-rmh6-fq4f
Forge: X.509 pathLenConstraint not enforced by verifyCertificateChain() for CA certificates without keyUsage
-
RHVEX-CVE-2026-119189
node-forge: node-forge: Certificate validation bypass via unenforced path length constraints
-
UBUNTU-CVE-2026-119189
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, node-forge enforced an X.509 CA certificate's basicConstraints.pathLenConstraint only when that…