CVE-2026-118780
Forge: verifyCertificateChain() removes trusted CA certificates with the same subject from the CA store
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: geringes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| npm | node-forge | <= 1.4.0 | 1.4.1 |
Betroffene Produkte · Digitalbazaar
| Produkt | Betroffene Versionen |
|---|---|
| Forge | vor 1.4.1 Version < 1.4.1 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/advisories/GHSA-4487-j8r4-4g2f
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-4487-j8r4-4g2f
- https://nvd.nist.gov/vuln/detail/CVE-2026-118780
- https://github.com/digitalbazaar/forge/commit/f6555609bd30f442fbfacd543155928ceccf98d0
- https://github.com/digitalbazaar/forge/releases/tag/v1.4.1