{"id":"UBUNTU-CVE-2026-119189","details":"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.","modified":"2026-11-05T04:42:51Z","published":"2026-10-29T20:17:00Z","upstream":["CVE-2026-119189"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-119189"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-119189"},{"type":"REPORT","url":"https://github.com/digitalbazaar/forge/commit/696db92348623e88cc63c35f0a89ede481d55ad0"},{"type":"REPORT","url":"https://github.com/digitalbazaar/forge/releases/tag/v1.4.1"},{"type":"REPORT","url":"https://github.com/digitalbazaar/forge/security/advisories/GHSA-h46v-rmh6-fq4f"}],"affected":[{"package":{"name":"node-node-forge","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/node-node-forge?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.8.5~dfsg-2","0.9.1~dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.9.1~dfsg-1","binary_name":"libjs-node-forge"},{"binary_version":"0.9.1~dfsg-1","binary_name":"node-node-forge"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-119189.json"}},{"package":{"name":"node-node-forge","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/node-node-forge?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.0~dfsg-3","1.2.1~dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-node-forge","binary_version":"1.2.1~dfsg-2"},{"binary_name":"node-node-forge","binary_version":"1.2.1~dfsg-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-119189.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}