CVE-2026-88038
Last modified
CVE-2026-88038 is a medium-severity vulnerability rated 4.8/10 on the CVSS scale. 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.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| cookies | cookies | < 0.9.2 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-88038?
How severe is CVE-2026-88038?
How do I fix CVE-2026-88038?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-88031Improper neutralization of special elements in data query lo…8.1
- CVE-2026-88032A use-after-free in the reactive client-side encryption comp…5.9
- CVE-2026-88033Improper neutralization of special elements in data query lo…8.3
- CVE-2026-88034Improper neutralization of special elements in data query lo…8.3
- CVE-2026-88035A size check in the client-side authentication path of the M…4.7
- CVE-2026-88036Improper neutralization of special elements in data query lo…8.3
- CVE-2026-8804Puppet resource_api (shipped in Puppet Core 8.x and Puppet E…6.7
- CVE-2026-88044rclone is a command-line program to sync files and directori…9.1
- CVE-2026-88045rclone is a command-line program to sync files and directori…7.5
- CVE-2026-88046rclone is a command-line program to sync files and directori…5.3
- CVE-2026-88047Tesseract is an open source OCR engine. In version 5.5.3 and…8.6
- CVE-2026-88048Tesseract is an open source OCR engine. In version 5.5.3 and…8.6
Are you affected by CVE-2026-88038?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
