Forge: AES-GCM authentication bypass via unvalidated tagLength option — GHSA-5CWG-6VW7-RJ6P
GitHub · GitHub · GHSA-5CWG-6VW7-RJ6P
ID
GHSA-5CWG-6VW7-RJ6P
GHSA-5CWG-6VW7-RJ6P
Date
Source
GitHub
GitHub
Vendor
GitHub
GitHub
Threat
medium
medium
CVSS
5.9
5.9
EPSS
0.00206
0.00206
Summary
### Summary The AES-GCM mode in forge.cipher does not validate the tagLength option passed to start(). With a tagLength of 0 or a value that converts to 0 (such as null, false, '' or '0'), the authentication tag is empty, and decipher.finish() returns true for any ciphertext and additional data when the supplied tag is empty or missing. Fixed in node-forge 1.4.1. ### Details `modes.gcm.prototype.start()` in…
Timeline
- Published by source
- 2026-10-30
Risk context
- Reported severity or threat level: medium.
- Reported CVSS score: 5.9 out of 10.
- Reported EPSS value: 0.00206.
- Review exposure for the affected product or family: npm: node-forge.
Product
npm: node-forge
What to do
General, cautious steps (verify details in the official source):
- Review exposure and plan remediation based on risk and environment.
- Identify affected product versions in your inventory and verify whether you are impacted.
- Apply vendor patches/updates or recommended mitigations as soon as available.
- Read the official advisory for exact affected versions and remediation steps.
Official advisory
Evidence and provenance
- Canonical advisory ID
- GHSA-5CWG-6VW7-RJ6P
- Source
- GitHub
- Vendor
- GitHub
- Published by source
- 2026-10-30
- Last source activity
- 2026-10-30
- Additional identifiers
- CVE-2026-119186
- Curated by
- hlukh.ch
Related advisories and connections
These advisories are connected by shared CVE, product, vendor, source, or time signals.