๐Ÿ” CVE Alert

CVE-2026-119189

MEDIUM 5.9

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

CVSS Score
5.9
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-295
Vendor digitalbazaar
Product forge
Published Oct 29, 2026
Stay Ahead of the Next One

Get instant alerts for digitalbazaar forge

Be the first to know when new medium vulnerabilities affecting digitalbazaar forge are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Affected Versions

digitalbazaar / forge
< 1.4.1

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/digitalbazaar/forge/security/advisories/GHSA-h46v-rmh6-fq4f github.com: https://github.com/digitalbazaar/forge/commit/696db92348623e88cc63c35f0a89ede481d55ad0 github.com: https://github.com/digitalbazaar/forge/releases/tag/v1.4.1