CVE-2026-46625: Node js cookie · Prior to version 3.0.7, js-cookie's internal assign() helper copies properties with
Affects node-js-cookieSource GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 3.0.7 soon.
Data as of 30 Nov 2026, 18:37 UTC
- EPSS
- 0.9% chance of exploitation in 30 days – higher than 61% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.0.7
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 10 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Upgrade js-cookie to 3.0.7.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 18.04 LTSnode-js-cookiepkg:deb/ubuntu/node-js-cookie?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSnode-js-cookiepkg:deb/ubuntu/node-js-cookie?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSnode-js-cookiepkg:deb/ubuntu/node-js-cookie?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSnode-js-cookiepkg:deb/ubuntu/node-js-cookie?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 25.10node-js-cookiepkg:deb/ubuntu/node-js-cookie?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 26.10node-js-cookiepkg:deb/ubuntu/node-js-cookie?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade node-js-cookie to version 3.0.7 or later, where this prototype pollution vulnerability is fixed. No other mitigation is indicated by the vendor advisory.
Description
Node js-cookie versions prior to 3.0.7 contain a prototype pollution vulnerability in the internal assign() helper. This occurs because the helper copies properties using for...in enumeration and plain assignment, which allows attacker-controlled __proto__ properties from JSON-parsed objects to hijack the prototype of merged attribute objects. This leads to attacker-controlled cookie attributes such as domain, secure, samesite, expires, and path being set unexpectedly. The issue is patched in version 3.0.7.
References
- ubuntu.com/security/CVE-2026-46625 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-46625 (opens in a new tab)
- github.com/js-cookie/js-cookie/commit/eb3c40e89731e99b8970faaf35ddad249c6c0020 (opens in a new tab)
- github.com/js-cookie/js-cookie/releases/tag/v3.0.7 (opens in a new tab)
- github.com/js-cookie/js-cookie/security/advisories/GHSA-qjx8-664m-686j (opens in a new tab)