Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
3.7

CVE-2026-118780: node-forge may delete trusted CA certificates during verification

CVE-2026-118780 · published 23 days ago
Summary

The JavaScript library node-forge, used for secure communications, could unintentionally erase trusted certificate authorities from its internal list when checking certificates that share the same name. This removal can cause later legitimate connections to fail, affecting the availability of services that rely on the same certificate store. Updating to version 1.4.1 or later resolves the issue.

What to do
  • Update node-forge to version 1.4.1.
  • Update digitalbazaar forge to version 1.4.1 or later.
Affected software
Ecosystem VendorProductAffected versions
– digitalbazaar forge < 1.4.1
npm – node-forge <= 1.4.0
Fix: upgrade to 1.4.1
Ubuntu:20.04:LTS canonical node-node-forge All versions
Original advisory text
Forge: verifyCertificateChain() removes trusted CA certificates with the same subject from the CA store
Forge (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.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker partial control
Severity
3.7 Low
Exploitation
<1% chance of attack within 30 days
Type
CWE-295Improper Certificate Validation
CWE-471Modification of Assumed-Immutable Data (MAID)
Timeline
Published29 Oct 2026
Updated22 Nov 2026
First seen29 Oct 2026
Track software like this
Free during beta