node-forge < 1.4.0: VerifyCertificateChain Allows Non-CA Certs
CVE-2026-33896 Published on March 27, 2026
Forge has a basicConstraints bypass in its certificate chain verification (RFC 5280 violation)
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.
Vulnerability Analysis
CVE-2026-33896 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is consided to have a high level of attack complexity. Public availability of a proof of concept (POC) exploit exists for CVE-2026-33896. The potential impact of an exploit of this vulnerability is considered to have a high impact on confidentiality and integrity, and no impact on availability.
Weakness Type
Improper Certificate Validation
The software does not validate, or incorrectly validates, a certificate. When a certificate is invalid or malicious, it might allow an attacker to spoof a trusted entity by interfering in the communication path between the host and client. The software might connect to a malicious host while believing it is a trusted host, or the software might be deceived into accepting spoofed data that appears to originate from a trusted host.
Products Associated with CVE-2026-33896
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2026-33896 are published in these products:
Affected Versions
digitalbazaar forge:- Version < 1.4.0 is affected.
- Version 0:2.5.20260422-3.el8ap and below * is unaffected.
- Version 0:2.5.20260422-3.el9ap and below * is unaffected.
- Version 1782839279 and below * is unaffected.
- Version 1776784286 and below * is unaffected.
- Version 1777903262 and below * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.