CVE-2026-119189

GHSA-h46v-rmh6-fq4f · published 29 Oct 2026 · updated 16 Nov 2026

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

6.9MediumCVSS 5.9EPSS 0%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 1.4.1 and node-forge 1.4.1.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
digitalbazaarforge<1.4.11.4.1
digitalbazaar<1.4.1
npm: node-forge<1.4.1, <=1.4.01.4.1

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in node-forge (npm), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-119189 severity on Zeptric[![CVE-2026-119189](https://zeptric.io/badge/cve/CVE-2026-119189.svg)](https://zeptric.io/cve/CVE-2026-119189)