PT-2026-65852 · Npm · Undici

·

CVE-2026-16729

·

Published

2026-07-29

·

Updated

2026-09-03

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions undici versions prior to 6.28.0 undici versions 7.0.0 through 7.28.9 undici versions 8.0.0 through 8.8.9
Description The setCookie() function fails to fully sanitize cookie attributes. Specifically, the domain value is not checked for semicolons and entries in the unparsed array are not sanitized. This allows attacker-influenced input to inject additional cookie attributes. For instance, a domain value containing a semicolon can append attributes like SameSite, and an unparsed entry can inject attributes such as HttpOnly without the caller's intent. Applications passing user-controlled input to these fields, such as reverse-proxy or multi-tenant servers scoping session cookies to tenant-supplied domains, may experience bypassed SameSite CSRF protections or have the Secure, HttpOnly, and SameSite attributes forced, stripped, or overridden.
Recommendations Update to version 6.28.0 Update to version 7.29.0 Update to version 8.9.0

Exploit

Fix

Special Elements Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

AZL-94443
CVE-2026-16729
ECHO-3D78-4B3B-0A59
GHSA-V3R7-H72X-CJCM
SUSE-SU-2026:3929-1
SUSE-SU-2026:3930-1

Affected Products

Undici