VDB

CVE-2026-16729

CVE-2026-16729 PUBLISHED CVSS 4.8 MEDIUM

Reported by openjs · Published July 29, 2026

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.

Risk Scores

CVSS 3.1
4.8
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected Products

VendorProductVersions
undiciundici0, 6.28.0, 7.0.0
chainguardcommercial-gitlab-rails-ee-19.10
wolfinpm-120
chainguardvitess-240, 0
undiciundici8.9.0, 7.29.0, 7.0.0
wolfisaf0
chainguardcommercial-gitlab-rails-ee-fips-19.10
chainguardcommercial-gitlab-rails-ee-fips-19.30
chainguardsaf0
chainguardcommercial-gitlab-rails-ee-19.40
wolficode-server0
chainguardpulumi0
npmundici0, 8.0.0, 7.0.0
wolfipulumi0
chainguardlangfuse-fips-40
chainguardrenovate0, 0
chainguardcommercial-gitlab-rails-ee-19.20
chainguardlangfuse-40
wolfiprism0
chainguardprism0

…and 15 more

Timeline

  • Jul 29, 2026 Coalition ESS Score
  • Jul 29, 2026 CVE Published
  • Jul 29, 2026 CVE Updated
  • Aug 7, 2026 EPSS Score
  • Aug 13, 2026 Security Advisory
  • Aug 24, 2026 EPSS Score
  • Sep 9, 2026 EPSS Score
  • Sep 16, 2026 EPSS Score
  • Sep 24, 2026 EPSS Score
  • Sep 26, 2026 EPSS Score
  • Oct 6, 2026 EPSS Score
  • Oct 13, 2026 EPSS Score
Open in Interactive Console →
$ Console Community · 50/day Open console ›