CVE-2026-88038 Affecting node-cookies package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.16% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-NODECOOKIES-19683727
  • published11 Sept 2026
  • disclosed10 Sept 2026

Introduced: 10 Sep 2026

CVE-2026-88038  (opens in a new tab)

How to fix?

There is no fixed version for Echo:latest node-cookies.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-cookies package and not the node-cookies package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

cookies is a Node.js library for reading and writing HTTP cookies, used by Koa via ctx.cookies. In versions before 0.9.2 the library validates the cookie name and value against character sets that reject the semicolon separator, but the domain and path options are checked only against a permissive RFC 7230 field-content matcher that allows semicolons, and both are written into the Set-Cookie header unescaped. An application that passes untrusted or request-derived data into the domain or path option can therefore inject additional cookie attributes, overriding SameSite, Secure, HttpOnly, or Domain on the cookies the application issues. This is a Set-Cookie attribute injection issue (CWE-74). The issue is fixed in cookies 0.9.2, which validates domain and path against RFC 6265 character sets. As a workaround, keep domain and path application-set rather than derived from untrusted input.

CVSS Base Scores

version 3.1