{"id":"CVE-2026-33896","revision":"6bc6a0a865cb4fbf860372d503935d75","records":[{"revision":"6bc6a0a865cb4fbf860372d503935d75","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-33896","aliases":[],"title":"Forge has a basicConstraints bypass in its certificate chain verification (RFC 5280 violation)","description":"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.","state":0,"publishedAt":"2026-03-27T20:50:03.418+00:00","modifiedAt":"2026-09-04T12:04:50.96+00:00","affected":[{"ecosystem":"Vendor product","name":"forge","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"digitalbazaar\",\n                    \"product\": \"forge\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 1.4.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"severity":"HIGH"}],"references":["https://github.com/digitalbazaar/forge/security/advisories/GHSA-2328-f5f3-gj25","https://github.com/digitalbazaar/forge/commit/2e492832fb25227e6b647cbe1ac981c123171e90"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-33896","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-33896","identifiers":["CVE-2026-33896"]},"retained":false,"historicalAffected":[]}],"coverage":[]}