UBUNTU-CVE-2026-88038

Source
https://ubuntu.com/security/CVE-2026-88038
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88038.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-88038
Upstream
Published
2026-09-10T13:20:00Z
Modified
2026-09-16T11:43:12Z
Severity
  • 4.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:16.04:LTS
node-cookies

Package

Name
node-cookies
Purl
pkg:deb/ubuntu/node-cookies?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.5.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-cookies",
            "binary_version": "0.5.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88038.json"
Ubuntu:18.04:LTS
node-cookies

Package

Name
node-cookies
Purl
pkg:deb/ubuntu/node-cookies?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.5.0-1
0.5.0-1ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-cookies",
            "binary_version": "0.5.0-1ubuntu1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88038.json"
Ubuntu:20.04:LTS
node-cookies

Package

Name
node-cookies
Purl
pkg:deb/ubuntu/node-cookies?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.5.0-3
0.8.0-1
0.8.0-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-cookies",
            "binary_version": "0.8.0-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88038.json"
Ubuntu:22.04:LTS
node-cookies

Package

Name
node-cookies
Purl
pkg:deb/ubuntu/node-cookies?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.8.0-2
0.8.0+~0.7.7-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-cookies",
            "binary_version": "0.8.0+~0.7.7-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88038.json"
Ubuntu:24.04:LTS
node-cookies

Package

Name
node-cookies
Purl
pkg:deb/ubuntu/node-cookies?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.8.0+~0.7.7-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-cookies",
            "binary_version": "0.8.0+~0.7.7-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88038.json"
Ubuntu:26.04:LTS
node-cookies

Package

Name
node-cookies
Purl
pkg:deb/ubuntu/node-cookies?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.8.0+~0.7.7-1
0.9.1+~0.9.2-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-cookies",
            "binary_version": "0.9.1+~0.9.2-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88038.json"