
CVE catalog
CVE-2026-16729
undici's setCookie function does not fully sanitize cookie attributes. In undici before 6.28.0, from 7.0.0 up to before 7.29.0, and from 8.0.0 up to before 8.9.0, a domain value is not checked for sem
- Severity
- Medium · CVSS 4.8
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.28% · Oct 25, 2026
undici's setCookie function does not fully sanitize cookie attributes. In undici before 6.28.0, from 7.0.0 up to before 7.29.0, and from 8.0.0 up to before 8.9.0, a domain value is not checked for semicolons and entries in the unparsed array are not sanitized, so attacker-influenced input can inject additional cookie attributes. For example, a domain value containing a semicolon can append attributes such as SameSite, and an unparsed entry can inject attributes such as HttpOnly, without the caller setting them. Applications that pass user-controlled input to these fields, such as multi-tenant or reverse-proxy servers that scope session cookies to a tenant-supplied domain, can have SameSite CSRF protections bypassed, or the Secure, HttpOnly, and SameSite attributes forced, stripped, or overridden. The issue is fixed in undici 6.28.0, 7.29.0, and 8.9.0.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-undici | sid | 8.12.2+dfsg+~cs3.2.3-2 | fixed |
| Debian | node-undici | forky | 8.10.2+dfsg+~cs3.2.2-1 | fixed |
| Debian | node-undici | trixie | 7.3.0+dfsg1+~cs24.12.11-1 | vulnerable |
| Debian | node-undici | bookworm | 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u4 | vulnerable |
| Debian | node-undici | bookworm-security | 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u3 | vulnerable |
| Npm | undici | Not reported | 8.9.0 | fixed |
| Npm | undici | Not reported | 7.29.0 | fixed |
| Npm | undici | Not reported | 8.9.0 | fixed |
| Npm | undici | Not reported | 6.28.0 | fixed |
| Npm | undici | Not reported | 7.29.0 | fixed |
| Npm | undici | Not reported | 8.9.0 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-undici | source | sid | 8.9.0+dfsg+~cs3.2.0-1 | not yet assigned | Not reported | [1143063] |
| Debian | node-undici | source | forky | 8.9.0+dfsg+~cs3.2.0-1 | not yet assigned | Not reported | [1143063] |
| Debian | node-undici | source | trixie | (unfixed) | not yet assigned | Not reported | [1143063] |
| Debian | node-undici | source | bookworm | (unfixed) | not yet assigned | Not reported | [1143063] |
| Npm | undici | npm | Not reported | 8.9.0 | Not reported | GHSA-V3R7-H72X-CJCM | Not reported |
| Npm | undici | npm | Not reported | 7.29.0 | Not reported | Not reported | Not reported |
| Npm | undici | npm | Not reported | 8.9.0 | Not reported | Not reported | Not reported |
| Npm | undici | npm | Not reported | 6.28.0 | Not reported | Not reported | Not reported |
| Npm | undici | npm | Not reported | 7.29.0 | Not reported | Not reported | Not reported |
| Npm | undici | npm | Not reported | 8.9.0 | Not reported | Not reported | Not reported |
Notes
[trixie] node-undici: Minor issue [bookworm] node-undici: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [node-llhttp]Affected
Source package: [node-undici]
Details (4)
8.1.0~5.15.0+dfsg1+~cs20.10.9.3-1+deb12u4· all · bookwormAffected
nvd · node-undici · debian · bookworm; nvd · node-undici · debian · 12
8.1.0~5.15.0+dfsg1+~cs20.10.9.3-1+deb12u4· all · bookwormAffected
nvd · node-undici · debian · bookworm; nvd · node-undici · debian · 12
8.1.0~5.15.0+dfsg1+~cs20.10.9.3-1+deb12u3· all · bookworm-securityAffected
nvd · node-undici · debian · bookworm; nvd · node-undici · debian · 12
8.1.0~5.15.0+dfsg1+~cs20.10.9.3-1+deb12u3· all · bookworm-securityAffected
nvd · node-undici · debian · bookworm; nvd · node-undici · debian · 12
- [node-undici]Affected
Details (4)
5.15.0+dfsg1+~cs20.10.9.3-1+deb12u4· all · bookwormAffected
nvd · node-undici · debian · bookworm; nvd · node-undici · debian · 12
5.15.0+dfsg1+~cs20.10.9.3-1+deb12u4· all · bookwormAffected
nvd · node-undici · debian · bookworm; nvd · node-undici · debian · 12
5.15.0+dfsg1+~cs20.10.9.3-1+deb12u3· all · bookworm-securityAffected
nvd · node-undici · debian · bookworm; nvd · node-undici · debian · 12
5.15.0+dfsg1+~cs20.10.9.3-1+deb12u3· all · bookworm-securityAffected
nvd · node-undici · debian · bookworm; nvd · node-undici · debian · 12
[Debian 13 (Trixie)]
- [libllhttp9.2]Affected
Source package: [node-undici]
Details (2)
9.2.1~7.3.0+dfsg1+~cs24.12.11-1· amd64 · trixieAffected
nvd · node-undici · debian · 13
9.2.1~7.3.0+dfsg1+~cs24.12.11-1· arm64 · trixieAffected
nvd · node-undici · debian · 13
- [libllhttp-dev]Affected
Source package: [node-undici]
Details (2)
9.2.1~7.3.0+dfsg1+~cs24.12.11-1· amd64 · trixieAffected
nvd · node-undici · debian · 13
9.2.1~7.3.0+dfsg1+~cs24.12.11-1· arm64 · trixieAffected
nvd · node-undici · debian · 13
- [node-llhttp]Affected
Source package: [node-undici]
Details (2)
9.2.1~7.3.0+dfsg1+~cs24.12.11-1· all · trixieAffected
nvd · node-undici · debian · 13
9.2.1~7.3.0+dfsg1+~cs24.12.11-1· all · trixieAffected
nvd · node-undici · debian · 13
- [node-undici]Affected
Details (2)
7.3.0+dfsg1+~cs24.12.11-1· all · trixieAffected
nvd · node-undici · debian · 13
7.3.0+dfsg1+~cs24.12.11-1· all · trixieAffected
nvd · node-undici · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2026_3929-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-16729]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-16729]
- [https://osv.dev/vulnerability/GHSA-v3r7-h72x-cjcm]
- [https://security-tracker.debian.org/tracker/CVE-2026-16729]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-16729.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-3621.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]