---
cve: "CVE-2026-16729"
severity: "MEDIUM"
cvss: 4.8
epss: "17%"
vendor: "undici"
kev: false
exploited: false
published: "2026-07-29 17:16:51"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-18T13:29:12+02:00"
---

# CVE-2026-16729

> 4.8 MEDIUM · 🧪 PoC

## Beschreibung

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.

## CVSS-Vektor

```
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Hoch | good |
| PR Privilegien | Keine | bad |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Gering | warn |
| I Integrität | Gering | warn |
| A Verfügbarkeit | Keine | good |

## Patch verfügbar (OSV)

- 01a912e49a50c48009ed2639d2a457a6ec26752a (Commit)
- 9e38fc121d2eb26086d41c7d9379b47a6fada1c5 (Commit)

## Referenzen

- <https://github.com/nodejs/undici/security/advisories/GHSA-v3r7-h72x-cjcm>
- <https://cna.openjsf.org/security-advisories.html>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2026-16729) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
