Prototype pollution in node-forge - CVE-2026-118777

 

Prototype pollution in node-forge - CVE-2026-118777

Published: November 6, 2026


Vulnerability identifier: #VU159784
CSH Severity: Medium
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-118777
CWE-ID: CWE-1321
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an unauthenticated remote attacker to alter application logic or disrupt pages and processes through prototype pollution.

The vulnerability exists due to inherited-property handling in the plain-object cookie store of node-forge's forge.http client when processing malicious Set-Cookie response headers. An unauthenticated remote attacker can control a server contacted by an application using forge.http, directly or through forge.xhr, and send crafted cookies that add shared prototype properties or delete built-in prototype methods.


Affected software

node-forge

How to mitigate CVE-2026-118777

Install security update from vendor's website.

node-forge - update to 1.4.1

External References

Related Security Bulletins