Forge: verifyCertificateChain() removes trusted CA certificates with the same subject from the CA store
Historical advisory recorded 4 Nov 2026 02:57:16 UTC. Read the latest advisory.
cve-program · CVE-2026-118780
PublishedForge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, the affected implementation used pki.verifyCertificateChain(), pki.createCaStore(), duplicate subject names to process the relevant input or security decision. node-forge modified the CA store while trying certificates that shared a subject name during pki.verifyCertificateChain(). A failed chain verification could permanently remove trusted CA certificates from the store, causing later valid chains to fail and creating a persistent availability impact for applications that reused the store. This issue is fixed in version 1.4.1.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-118780 · CVE overview and exploitation status
cve-program · CVE-2026-118780
This historical advisory does not include today's related changes. Open the latest advisory to find current connections.