# CVE-2026-119189: Forge: X.509 pathLenConstraint not enforced by verifyCertificateChain() for CA certificates without keyUsage

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-29T19:23:25.238Z
- Modified: 2026-11-10T19:26:12.787Z
- Also known as: GHSA-h46v-rmh6-fq4f
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- digitalbazaar forge: < 1.4.1; before 1.4.1
- node-forge (npm): before 1.4.1

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/digitalbazaar/forge/security/advisories/GHSA-h46v-rmh6-fq4f> (exploit, mitigation, patch, vendor-advisory, web)
- <https://github.com/digitalbazaar/forge/commit/696db92348623e88cc63c35f0a89ede481d55ad0> (patch, web)
- <https://github.com/digitalbazaar/forge/releases/tag/v1.4.1> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-119189> (advisory)
- <https://github.com/digitalbazaar/forge> (package)

## Sources

- CVE List: [CVE-2026-119189](https://www.cve.org/CVERecord?id=CVE-2026-119189), CVE Terms of Use, modified 2026-11-03
- GitHub Advisory Database: [GHSA-h46v-rmh6-fq4f](https://github.com/advisories/GHSA-h46v-rmh6-fq4f), CC-BY-4.0, modified 2026-11-10
- NVD: [CVE-2026-119189](https://nvd.nist.gov/vuln/detail/CVE-2026-119189), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2026-119189 · Whole record: https://cve.day/CVE-2026-119189.json · Rebuilt by cve.day 2026-11-25T22:59:47.829Z
