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 | Vendor | Product | Affected 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.
References
- https://github.com/digitalbazaar/forge/releases/tag/v1.4.1 URL
- https://github.com/digitalbazaar/forge/commit/f6555609bd30f442fbfacd543155928cec... Patch
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-1187... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-118780 Vendor Advisory
- https://github.com/advisories/GHSA-4487-j8r4-4g2f
- https://ubuntu.com/security/CVE-2026-118780 Third Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2026-118780 Third Party Advisory
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-4487-j8r4-4g2f Vendor Advisory
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Type
CWE-295Improper Certificate Validation
CWE-471Modification of Assumed-Immutable Data (MAID)
Timeline
Published29 Oct 2026
Updated22 Nov 2026
First seen29 Oct 2026
Sources
CVE-2026-118780 · NVD
CVE-2026-118780 · MITRE
CVE-2026-118780 · OSV
GHSA-4487-j8r4-4g2f · GHSA
UBUNTU-CVE-2026-118780 · OSV
Track software like this
Free during beta