> CVE-2026-16729 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-07-29 17:16
MODIFIED
2026-07-29 17:16
CVSS_SCORE V3
4.8
EPSS (Prob. Exploit)
0.28%
Top 79.7%
DATA SOURCES:
NVD 🔗 2026-07-29 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-11-01 GITHUB 🔗 2026-10-29 OSV 🔗 2026-11-02 MSRC 🔗 2026-11-02

> DESCRIPTION

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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
EXPLOITABILITY
2.2
IMPACT
2.5

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
High (H)
Conditions spécifiques doivent être réunies pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
Low (L)
Divulgation limitée d'informations
I (Impact Intégrité)
Integrity Impact
Low (L)
Modification limitée des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
Low
Divulgation limitée d'informations
Intégrité
Low
Modification limitée des données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-74

> CWE DETAILED DESCRIPTIONS

CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component - The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

> GITHUB SECURITY ADVISORY

GHSA-v3r7-h72x-cjcm MODERATE

undici vulnerable to cookie attribute injection via unsanitized domain and unparsed setCookie fields

AFFECTED PACKAGES:
NPM / undici
>= 8.0.0, < 8.9.0
Fixed in: 8.9.0
NPM / undici
>= 7.0.0, < 7.29.0
Fixed in: 7.29.0
NPM / undici
< 6.28.0
Fixed in: 6.28.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

undici vulnerable to cookie attribute injection via unsanitized domain and unparsed setCookie fields

AFFECTED PACKAGES:
Unknown / Unknown
252 versions affected
ALIASES:
GHSA-v3r7-h72x-cjcm

> HISTORIQUE DES MODIFICATIONS

Première apparition
29/07/2026 17:16
Source: NVD
📊 ENRICHISSEMENT 01/11/2026 06:59
CWE
Champ modifié: Description CWE
Ancienne valeur:
CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') - The product constructs all or part of a command, data structure, or record using externally...
Nouvelle valeur:
CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component - The product constructs all or part of a command, data structure, or record using externally-influenced in...
📊 ENRICHISSEMENT 01/08/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') - The product constructs all or part of a command, data structure, or record using externally...
Total des modifications: 2 Dernière mise à jour: 4 days ago

> REFERENCES

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