Home

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.

PUBLISHED Reserved 2026-03-24 | Published 2026-03-27 | Updated 2026-03-30 | Assigner GitHub_M




HIGH: 7.4CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Problem types

CWE-295: Improper Certificate Validation

Product status

< 1.4.0
affected

References

github.com/.../forge/security/advisories/GHSA-2328-f5f3-gj25 exploit

github.com/.../forge/security/advisories/GHSA-2328-f5f3-gj25

github.com/...ommit/2e492832fb25227e6b647cbe1ac981c123171e90

cve.org (CVE-2026-33896)

nvd.nist.gov (CVE-2026-33896)

Download JSON