CVE-2026-118782
Description
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, node-forge accepted a PKCS#12 MAC or PKCS#12 password-based encryption iteration count of zero or less. pki.pbe.generatePkcs12Key() then returned a constant key independent of the password and salt, allowing crafted PKCS#12 input processed by forge.pkcs12.pkcs12FromAsn1() to bypass password-based integrity checks. Predictable encryption keys and IVs also affected PKCS#12 PBE using pbeWithSHAAnd3-KeyTripleDES-CBC or pbewithSHAAnd40BitRC2-CBC, including shrouded key bags, encrypted SafeContents, and PKCS#8 ENCRYPTED PRIVATE KEY input processed independently by forge.pki.decryptPrivateKeyInfo(). PBES2/PBKDF2-encrypted content is unaffected. This issue is fixed in version 1.4.1.
Description as published by the source, in English.
Key facts
- Published
- 2026-10-29
- Last modified
- 2026-11-10
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N- Scored by
- security-advisories@github.com
- Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Digitalbazaar | Forge | < 1.4.1 | Affected |
Weakness type
-
CWE-1284: Improper Validation of Specified Quantity in Input
The product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties.
-
CWE-354: Improper Validation of Integrity Check Value
The product does not validate or incorrectly validates the integrity check values or "checksums" of a message.
References
- https://github.com/digitalbazaar/forge/commit/d9584aa56824972858366d5187b3d29e46bf3656
- https://github.com/digitalbazaar/forge/releases/tag/v1.4.1
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-jc66-7q78-782g
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-jc66-7q78-782g
Related at Berigo
Articles
-
Seven new KEV entries, three of them in open developer components
Same product
2026-09-03
CISA added seven new vulnerabilities to its Known Exploited Vulnerabilities catalogue on 2 September 2026. Three of them sit in open components used …
-
A critical GitLab flaw can allow project deletion without login
Same product
2026-08-18
On 17 August 2026 GitLab shipped an out of band patch release. It fixes two vulnerabilities in the GraphQL layer, the more serious one scoring CVSS 9…
-
A malicious web page can run commands on machines running Ray
Same product
2026-08-18
On 17 August 2026 CISA added CVE-2025-62593 to its catalog of known exploited vulnerabilities. The flaw sits in the Ray compute engine, and lets a ma…
-
Attackers picked up the SharePoint exploit code the day after it was published
Same product
2026-08-14
On 11 August 2026 Rapid7 published a technical analysis of CVE-2026-55040 in Microsoft SharePoint, together with code showing how the flaw is exploit…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.