{"id":"CVE-2026-33896","published":"2026-03-27T20:50:03Z","modified":"2026-09-04T12:04:50Z","title":"Forge has a basicConstraints bypass in its certificate chain verification (RFC 5280 violation)","vendor":"digitalbazaar","product":"forge","tier":"tail","description":{"text":"Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript. Prior to version 1.4.0, `pki.verifyCertificateChain()` does not enforce RFC 5280 basicConstraints requirements when an intermediate certificate lacks both the `basicConstraints` and `keyUsage` extensions. This allows any leaf certificate (without these extensions) to act as a CA and sign other certificates, which node-forge will accept as valid. Version 1.4.0 patches the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00391,"percentile":0.33994,"provenance":"source"},"cwes":[{"id":"CWE-295","name":"Improper Certificate Validation"}],"references":[{"url":"https://github.com/digitalbazaar/forge/security/advisories/GHSA-2328-f5f3-gj25","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/digitalbazaar/forge/commit/2e492832fb25227e6b647cbe1ac981c123171e90","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-33896","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2452458","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33896.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:24761","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:34342","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:9742","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:13826","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":12.0,"factors":[{"name":"EPSS percentile","points":6.8},{"name":"CVSS severity","points":5.18}]},"vendorSlug":"digitalbazaar","affectedVersions":[{"vendor":"digitalbazaar","product":"forge","versions":["< 1.4.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-03-30T18:53:46.442762Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"node-forge","vulnerableRanges":["<1.4.0"],"patched":["1.4.0"],"from":["GHSA-2328-f5f3-gj25"],"provenance":"source"}],"summary":{"text":"The Forge library (node-forge), a JavaScript implementation of Transport Layer Security, contains a flaw in its certificate chain verification function, pki.verifyCertificateChain(), which fails to enforce basicConstraints requirements for intermediate certificates that lack both the basicConstraints and keyUsage extensions. An attacker with a leaf certificate that lacks these extensions could use it to act as a certificate authority and sign other certificates, which Forge would accept as valid, provided they can reach a network-facing service that relies on that verification.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:55:15Z"},"euvd":{"id":"EUVD-2026-16837","exploited":false,"provenance":"source"}}