CVE-2026-118777
MEDIUM 6.5CVSS 3.1Forge: Prototype Pollution in forge.http cookie handling via a malicious Set-Cookie
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, the forge.http client stored cookie names and paths from Set-Cookie response headers in ordinary JavaScript objects. A malicious server could use the cookie name proto so that the attacker-controlled cookie path was written as a property on Object.prototype, or use inherited names such as constructor to modify Object. An empty cookie value could use the removal path to delete an inherited Object.prototype property. Applications using forge.http directly or through forge.xhr are affected; applications that do not use forge.http are unaffected. This issue is fixed in version 1.4.1.
- Published
- 29 Oct 2026
- Last modified
- 4 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-1321
- Also known as
- GHSA-6wvx-3r32-xmcg
- Sources
- NVDJSONOSV GHSA-6wvx-3r32-xmcgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | digitalbazaar | forgecpe:2.3:a:digitalbazaar:forge:*:*:*:*:*:*:*:* |
< 1.4.1 | 1.4.1 |
| OSV | npm | node-forge | < 1.4.1 | 1.4.1 |
References
- https://github.com/digitalbazaar/forge/commit/797c3f816a22748a96fceebb34eb3a6716853991 · Patch, WEB
- https://github.com/digitalbazaar/forge/releases/tag/v1.4.1 · Release Notes, WEB
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-6wvx-3r32-xmcg · Exploit, Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-118777 · ADVISORY
- https://github.com/digitalbazaar/forge · PACKAGE
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 29 Oct 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 30 Oct 2026)