CVE-2026-16729Nodejs Undici
Media 6.5 Sin autenticación
Seguir: esta CVE · Nodejs · Nodejs Undici Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 54
- CVSS 3.1
- 6.5
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 29 jul 2026
- Actualizada
- 5 ago 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-74
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Qué pasa
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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Undici.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| npm | undici |
< 6.28.0 |
6.28.0 |
npm install undici@6.28.0 |
| npm | undici |
≥ 7.0.0 < 7.29.0 |
7.29.0 |
npm install undici@7.29.0 |
| npm | undici |
≥ 8.0.0 < 8.9.0 |
8.9.0 |
npm install undici@8.9.0 |
Según OSV / GitHub Advisories (GHSA-v3r7-h72x-cjcm). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| nodejs | undici | < 6.28.0 |
| nodejs | undici | ≥ 7.0.0 < 7.29.0 |
| nodejs | undici | ≥ 8.0.0 < 8.9.0 |
Boletines oficiales
- Security update for nodejs24 · SUSE · SUSE-SU-2026:5466-1 · 25 nov 2026 Crítica
- Security update for nodejs18 · SUSE · SUSE-SU-2026:4261-1 · 18 sep 2026 Crítica
- Security update for nodejs18 · SUSE · SUSE-SU-2026:4248-1 · 17 sep 2026 Crítica
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:48537 · 31 jul 2026 Crítica
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:48273 · 31 jul 2026 Crítica
Además: SUSE (+2)
Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- cna.openjsf.org Vendor Advisory
- github.com Vendor Advisory