{"id":"DHI-dk7i-4ae5-ptbp-fksb","aliases":[],"title":"undici's setCookie function does not fully sanitize cookie attributes. In undici before 6.28.0, from 7.0.0 up to before…","originalDescription":"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.","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[],"references":[{"url":"https://scout.docker.com/v/DHI-dk7i-4ae5-ptbp-fksb","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-16729","type":"advisory"},{"url":"https://github.com/nodejs/undici/security/advisories/GHSA-v3r7-h72x-cjcm","type":"advisory"},{"url":"https://cna.openjsf.org/security-advisories.html","type":"advisory"},{"url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-2059.html","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-69184","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-59875","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-59874","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-59873","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-59871","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-58045","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-58044","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-58043","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-58042","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-58041","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-58040","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-58039","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-56850","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-56848","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-56847","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-56846","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-53655","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-16729","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-16728","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-15157","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-14643","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-13697","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-13149","type":"advisory"},{"url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-2060.html","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-9496","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-50812","type":"advisory"},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-16729","type":"advisory"},{"url":"https://github.com/advisories/GHSA-v3r7-h72x-cjcm","type":"advisory"},{"url":"https://github.com/nodejs/undici/commit/af7484043ee075a6f216da0ad77e1dac55199235","type":"fix"},{"url":"https://github.com/nodejs/undici/commit/3bf91ddb493e853957f3a58e155326a668ab8aef","type":"fix"},{"url":"https://github.com/nodejs/undici/commit/10d93fc332f2c8c161982dec3833201de29891b5","type":"fix"},{"url":"https://github.com/nodejs/undici/releases/tag/v8.9.0","type":"web"},{"url":"https://github.com/nodejs/undici/releases/tag/v7.29.0","type":"web"},{"url":"https://github.com/nodejs/undici/releases/tag/v6.28.0","type":"web"},{"url":"https://ubuntu.com/security/CVE-2026-16729","type":"advisory"},{"url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-16729","type":"advisory"}],"sources":[{"name":"osv","at":"2026-11-23T22:06:25.894Z","url":"https://osv.dev/vulnerability/DHI-dk7i-4ae5-ptbp-fksb","license":"CC-BY 4.0","firstSeenAt":"2026-11-23T22:06:25.894Z"}],"firstSeenAt":"2026-11-23T22:06:25.894Z","publishedAt":"2026-11-20T16:51:53.000Z","modifiedAt":"2026-11-23T22:00:39.399Z"}