Forge: verifyCertificateChain() removes trusted CA certificates with the same subject from the CA store
Summary
| CVE | CVE-2026-118780 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-29 19:17:20 UTC |
| Updated | 2026-11-04 02:17:16 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 3.7 LOW from [email protected]
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS: 0.001720000 probability, percentile 0.065850000 (date 2026-11-01)
Problem Types: CWE-295 | CWE-471 | CWE-295 CWE-295: Improper Certificate Validation | CWE-471 CWE-471: Modification of Assumed-Immutable Data (MAID)
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 3.7 | LOW | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| 3.1 | CNA | DECLARED | 3.7 | LOW | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Digitalbazaar | Forge | affected < 1.4.1 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/digitalbazaar/forge/releases/tag/v1.4.1 | [email protected] | github.com | |
| github.com/digitalbazaar/forge/commit/f6555609bd30f442fbfacd543155928cec... | [email protected] | github.com | |
| github.com/digitalbazaar/forge/security/advisories/GHSA-4487-j8r4-4g2f | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.