Skip to main content
VulnerabilityPublished Updated

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

0
Compare

Not known to be exploited · CVSS 7.5 High : upgrade to 3.0.7 soon.

Data as of 30 Nov 2026, 18:37 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Ubuntu 18.04 LTSnode-js-cookiepkg:deb/ubuntu/node-js-cookie?arch=source&distro=bionicOther threatsAffected
  • =2.2.0-1
Fixed in–
Ubuntu 20.04 LTSnode-js-cookiepkg:deb/ubuntu/node-js-cookie?arch=source&distro=focalOther threatsAffected
  • =2.2.0-2
  • =2.2.1-1
Fixed in–
Ubuntu 22.04 LTSnode-js-cookiepkg:deb/ubuntu/node-js-cookie?arch=source&distro=jammyOther threatsAffected
  • =2.2.1-1
  • =2.2.1-2
  • =3.0.1+~3.0.0-2
Fixed in–
Ubuntu 24.04 LTSnode-js-cookiepkg:deb/ubuntu/node-js-cookie?arch=source&distro=nobleOther threatsAffected
  • =3.0.1+~3.0.0-3
Fixed in–
Ubuntu 25.10node-js-cookiepkg:deb/ubuntu/node-js-cookie?arch=source&distro=questingOther threatsAffected
  • =3.0.1+~3.0.0-3
Fixed in–
Ubuntu 26.10node-js-cookiepkg:deb/ubuntu/node-js-cookie?arch=source&distro=stonkingOther threatsAffected
  • =3.0.1+~3.0.0-3
  • =3.0.7+~3.0.6-2
  • =3.0.8+~3.0.6-1
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

Community reviews

Loading reviews…