Skip to content
CVE PROGRAM SOURCE RECORD7.4 High

CVE-2026-33896

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

digitalbazaar forge

  • < 1.4.0affected

References