CVE-2026-119186 · GHSA-5cwg-6vw7-rj6p
Forge: AES-GCM authentication bypass via unvalidated tagLength option
- Risk score
- 45/100
- CVSS
- 5.9 v3.1
- Published
- 29 Oct 2026
Open in the live forecast Today's forecast
What to know
- What it is
- Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, node-forge did not validate the AES-GCM tagLength option passed to start() during decryption through forge.cipher.createDecipher(). When an application derived tagLength from received data or used an un…
- Affected
- node-forge (npm) <= 1.4.0
- Fix
- Upgrade node-forge to 1.4.1 or later.
- Exploitation
- Public proof of concept
Story map
At a glance
node-forge: Amber, patch this week. Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, the affected implementation used pem.decode(), lib/pem.js, missing END line to process the relevant input or security decision. node-forge used polynomial-time regular expressions in pem.decode(), inclu…
The flaws
- CVE-2026-119186: Forge: AES-GCM authentication bypass via unvalidated tagLength option (CVSS 5.9)
- CVE-2026-118779: Forge: Regular expression denial of service in PEM decoding (pem.decode) (CVSS 7.5)
- CVE-2026-118782: Forge: PKCS#12 MAC forgery and constant-key PBE via zero iteration count (CVSS 7.5)
- CVE-2026-119187: Forge: Denial of service in TLS record processing via call stack exhaustion (CVSS 7.5)
The fix
Upgrade node-forge: 1.4.1 or later on your release line
Who is exposed: node-forge (npm) <= 1.4.0
Where it stands
- Public proof of concept
Connects to
- Same weakness: CWE-354 (CWE-354). 14 other warnings in 30 days
Why it is Yellow
- CVSS 5.9 medium
- Public exploit or proof of concept referenced
- On your watchlist: npm
Affected packages
| Package | Ecosystem | Vulnerable | Fixed in |
|---|---|---|---|
| node-forge | npm | <= 1.4.0 | 1.4.1 |
References
- https://github.com/digitalbazaar/forge/commit/236845d96c71207259f91638d0138bba8e2fd624
- https://github.com/digitalbazaar/forge/releases/tag/v1.4.1
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-5cwg-6vw7-rj6p
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-5cwg-6vw7-rj6p
- https://github.com/advisories/GHSA-5cwg-6vw7-rj6p
- https://nvd.nist.gov/vuln/detail/CVE-2026-119186
- https://github.com/advisories/GHSA-5cwg-6vw7-rj6p
Original description
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, node-forge did not validate the AES-GCM tagLength option passed to start() during decryption through forge.cipher.createDecipher(). When an application derived tagLength from received data or used an unset or zero-like configuration value, a value that converted to zero together with an empty or missing authentication tag caused the calculated and supplied tags to compare as empty, so decipher.finish() accepted unauthenticated ciphertext. Applications that omit tagLength to use the 128-bit default or pass a fixed valid tag length are unaffected. This issue is fixed in version 1.4.1.
Last activity 30 Oct 2026. Patch Forecast updates every hour.