CVE-2026-119189
node-forge: node-forge: Certificate validation bypass via unenforced path length constraints
Overview
Description
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.
Source: OX vulnerability database
Severity
5.9 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness: CWE-295
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | node-forge | <1.4.1 | 1.4.1 |
| Seal npm | @seal-security/node-forge | >=0.10.0-sp1-for-passport-saml, <0.10.0-sp999>=1.3.0-sp1, <1.3.0-sp999>=1.3.1-sp1, <1.3.1-sp999>=1.3.2-sp1, <1.3.2-sp999>=1.3.3-sp1, <1.3.3-sp999+1 more | 0.10.0-sp9991.3.0-sp9991.3.1-sp9991.3.2-sp9991.3.3-sp999 |
| Seal npm | node-forge | >=0.10.0-sp0, <0.10.0-sp999>=1.3.0-sp0, <1.3.0-sp999>=1.3.1-sp0, <1.3.1-sp999>=1.3.2-sp0, <1.3.2-sp999>=1.3.3-sp0, <1.3.3-sp999+1 more | 0.10.0-sp9991.3.0-sp9991.3.1-sp9991.3.2-sp9991.3.3-sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 9 fixes
Red Hat 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | rhceph-rhceph-4-dashboard-rhel8 | eol |
| 8 | grafana +15 | affected |
| 8 | rhceph-rhceph-4-dashboard-rhel8 | eol |
| 9 | grafana +3 | affected |
chainguard 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| gitlab-rails-ce-18-10 | 18.10.8-r12 | |
| gitlab-rails-ce-18-9 | 18.9.8-r15 |
debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | node-node-forge | affected |
minimos 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| argo-workflows-3-6 +1 | 3.6.17-r0 | |
| argo-workflows-3-7 +1 | 3.7.8-r0 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-119189
- github.com https://github.com/digitalbazaar/forge
- github.com https://github.com/digitalbazaar/forge/commit/696db92348623e88cc63c35f0a89ede481d55ad0
- github.com https://github.com/digitalbazaar/forge/releases/tag/v1.4.1
- github.com https://github.com/digitalbazaar/forge/security/advisories/GHSA-h46v-rmh6-fq4f
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-119189
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-119189
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.