CVE-2026-118777
node-forge: node-forge: Prototype pollution via crafted HTTP cookie headers
Overview
Description
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.
Source: OX vulnerability database
Severity
6.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- Low
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Weakness: CWE-1321
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | node-forge | <1.4.1 | 1.4.1 |
| Seal npm | @seal-security/node-forge | >=0.10.0-sp1-for-passport-saml, <0.10.0-sp999>=1.3.0-sp1, <1.3.0-sp999>=1.3.1-sp1, <1.3.1-sp999>=1.3.2-sp1, <1.3.2-sp999>=1.3.3-sp1, <1.3.3-sp999+1 more | 0.10.0-sp9991.3.0-sp9991.3.1-sp9991.3.2-sp9991.3.3-sp999 |
| Seal npm | node-forge | >=0.10.0-sp0, <0.10.0-sp999>=1.3.0-sp0, <1.3.0-sp999>=1.3.1-sp0, <1.3.1-sp999>=1.3.2-sp0, <1.3.2-sp999>=1.3.3-sp0, <1.3.3-sp999+1 more | 0.10.0-sp9991.3.0-sp9991.3.1-sp9991.3.2-sp9991.3.3-sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 22 fixes
Red Hat 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | rhceph-rhceph-4-dashboard-rhel8 | affected |
| 8 | grafana +16 | affected |
| 9 | grafana +3 | affected |
chainguard 1 release · 14 packages
| Release | Package | Fixed in |
|---|---|---|
| gitlab-rails-ce-18-10 | 18.10.8-r12 | |
| gitlab-rails-ce-18-9 | 18.9.8-r15 | |
| gitlab-rails-ce-19-4 | 19.4.3-r9 | |
| gitlab-rails-ce-19-5 | 19.5.1-r9 | |
| kubeflow-centraldashboard | 2.0.0-r8 | |
| jitsucom-jitsu | 2.11.0-r42 |
8 more rows
debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | node-node-forge | affected |
minimos 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| argo-workflows-3-6 +1 | 3.6.17-r0 | |
| argo-workflows-3-7 +1 | 3.7.8-r0 |
wolfi 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| kubeflow-centraldashboard | 2.0.0-r8 | |
| jitsucom-jitsu | 2.11.0-r42 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-118777
- github.com https://github.com/digitalbazaar/forge
- github.com https://github.com/digitalbazaar/forge/commit/797c3f816a22748a96fceebb34eb3a6716853991
- github.com https://github.com/digitalbazaar/forge/releases/tag/v1.4.1
- github.com https://github.com/digitalbazaar/forge/security/advisories/GHSA-6wvx-3r32-xmcg
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-118777
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-118777
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.