CVE-2026-119189
Forge (also called node-forge) is a native implementation of …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/digitalbazaar/forge/commit/696db92348623e88cc63c35f0a89ede481d55ad0
- github.com/digitalbazaar/forge/releases/tag/v1.4.1
- github.com/digitalbazaar/forge/security/advisories/GHSA-h46v-rmh6-fq4f
- nvd.nist.gov/vuln/detail/CVE-2026-119189
- github.com/advisories/GHSA-h46v-rmh6-fq4f
- nvd.nist.gov/vuln/detail/CVE-2026-119189
- cve.org/CVERecord?id=CVE-2026-119189
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.