CVE-2026-16729: Npm · undici's setCookie function does not fully sanitize cookie attributes
Affects npmSource GCVE Database
Not known to be exploited · CVSS 6.5 Medium : upgrade to 12.0.1-r0 when convenient.
Data as of 3 Dec 2026, 01:06 UTC
- Patch
- Available – fixed in 12.0.1-r0, 6.28.0, 7.29.0 +1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 3 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
CleanStartnpmpkg:apk/cleanstart/npm?arch=noarchOther threats | Affected
| Fixed in
|
npmundicipkg:npm/undiciOther threats | Affected
| Fixed in
|
npmundicipkg:npm/undiciOther threats | Affected
| Fixed in
|
npmundicipkg:npm/undiciOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should upgrade to undici version 12.0.1-r0 or later, where the vulnerability has been fixed. Since a patch is available, applying this official fix is the recommended remediation.
Description
The npm package 'undici' has a security vulnerability in its setCookie function, which does not fully sanitize cookie attributes. This flaw affects versions prior to 12.0.1-r0 and could lead to partial compromise of confidentiality and integrity without availability impact. A fix is available in version 12.0.1-r0.