Skip to main content
VulnerabilityPublished

CVE-2026-16729: Npm · undici's setCookie function does not fully sanitize cookie attributes

Affects npmSource GCVE Database

0
Compare

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

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
CleanStartnpmpkg:apk/cleanstart/npm?arch=noarchOther threatsAffected
  • <12.0.1-r0
Fixed in
  • 12.0.1-r0
npmundicipkg:npm/undiciOther threatsAffected
  • <6.28.0
Fixed in
  • 6.28.0
npmundicipkg:npm/undiciOther threatsAffected
  • >=7.0.0 <7.29.0
Fixed in
  • 7.29.0
npmundicipkg:npm/undiciOther threatsAffected
  • >=8.0.0 <8.9.0
Fixed in
  • 8.9.0

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.

References

Community reviews

Loading reviews…