Skip to main content
CVE-2026-119189VulnerabilityPublished

node-forge · Forge: X.509 pathLenConstraint not enforced by verifyCertificateChain() for CA certificates without keyUsage

Affects node-forgeSource GCVE Database

0
Compare
Authoritative record:CVE-2026-119189· Medium 5.9

Not known to be exploited · CVSS 5.9 Medium : upgrade to 1.4.1 when convenient.

Data as of 10 Nov 2026, 17:36 UTC

CVSS 3.1 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.15.9
Patch
Available – fixed in 1.4.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 10 Nov 2026.

What to do

Upgrade node-forge to 1.4.1.

Affected software

ProductAffectedFixed in
npmnode-forgeAffected
  • <1.4.1
Fixed in
  • 1.4.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade node-forge to version 1.4.1 or later, where the pathLenConstraint is enforced regardless of the presence of the keyUsage extension. If upgrading is not immediately possible, applications can implement a custom verification callback to reject certificate chains where a CA certificate's pathLenConstraint is violated. Alternatively, re-issuing CA certificates to include a keyUsage extension with keyCertSign restores enforcement in affected versions.

Description

A vulnerability in node-forge's pki.verifyCertificateChain() function causes it to ignore the pathLenConstraint in CA certificates that lack a keyUsage extension. This allows certificate chains with more intermediate CAs than allowed by the pathLenConstraint to be accepted. The issue is fixed in node-forge 1.4.1.

References

Community reviews

Loading reviews…