Skip to main content
VulnerabilityPublished Updated

CVE-2026-88038: Node cookies · cookies is a Node.js library for reading and writing HTTP cookies, used by Koa via

Affects node-cookiesSource GCVE Database

0
Compare

Not known to be exploited · CVSS 4.8 Medium · fixed in 0.9.2 : update node-cookies when convenient.

Data as of 30 Nov 2026, 18:37 UTC

CVSS 3.1 base score
4.8Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 10% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.9.2
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Sep 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 30 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10node-cookiespkg:deb/ubuntu/node-cookies?arch=source&distro=stonkingOther threatsAffected
  • =0.9.1+~0.9.2-1
Fixed in–
Ubuntu 26.04 LTSnode-cookiespkg:deb/ubuntu/node-cookies?arch=source&distro=resoluteOther threatsAffected
  • =0.8.0+~0.7.7-1
  • =0.9.1+~0.9.2-1
Fixed in–
Ubuntu 24.04 LTSnode-cookiespkg:deb/ubuntu/node-cookies?arch=source&distro=nobleOther threatsAffected
  • =0.8.0+~0.7.7-1
Fixed in–
Ubuntu 22.04 LTSnode-cookiespkg:deb/ubuntu/node-cookies?arch=source&distro=jammyOther threatsAffected
  • =0.8.0-2
  • =0.8.0+~0.7.7-1
Fixed in–
Ubuntu 20.04 LTSnode-cookiespkg:deb/ubuntu/node-cookies?arch=source&distro=focalOther threatsAffected
  • =0.5.0-3
  • =0.8.0-1
  • =0.8.0-2
Fixed in–
Ubuntu 18.04 LTSnode-cookiespkg:deb/ubuntu/node-cookies?arch=source&distro=bionicOther threatsAffected
  • =0.5.0-1
  • =0.5.0-1ubuntu1
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 the 'cookies' library to version 0.9.2 or later, which includes proper validation of domain and path options against RFC 6265 character sets. As a workaround, ensure that domain and path options are set explicitly by the application and not derived from untrusted or request-supplied input to prevent injection of cookie attributes.

Description

The Node.js library 'cookies', used by Koa via ctx.cookies, has a Set-Cookie attribute injection vulnerability in versions before 0.9.2. The domain and path options are validated permissively, allowing semicolons and enabling injection of additional cookie attributes. This can override security attributes like SameSite, Secure, HttpOnly, or Domain on cookies issued by the application. The issue is fixed in version 0.9.2 by stricter validation of domain and path values. Applications should avoid using untrusted input for these options as a workaround.

References

Community reviews

Loading reviews…