CVE-2026-118777 Forge: Prototype Pollution in forge.http cookie handling via a malicious Set-Cookie

Medium 4.8 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-118777?

CVE-2026-118777 is a medium-severity vulnerability in digitalbazaar forge, published on 29 Oct 2026.

Official 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.

Weakness: CWE-1321

Which versions are affected by CVE-2026-118777?

How do I fix CVE-2026-118777?

No fix has been published for CVE-2026-118777 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-118777 being exploited?

There is no known exploitation of CVE-2026-118777 in the wild and no public exploit code.

Sources

Is CVE-2026-118777 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free