Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2026-16729

undici: Undici: Cookie attribute injection allows bypassing security protections

Overview

Published
29 Jul 2026
Modified
5 Aug 2026
Medium CVE
3 Registry packages
68 OS packages
8 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

6.5 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

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

Weakness: CWE-74

Affected packages · 3

Packages affected by CVE-2026-16729
EcosystemPackageVulnerableFixed in
npm undici <6.28.0>=7.0.0, <7.29.0>=8.0.0, <8.9.0 6.28.07.29.08.9.0
Seal npm @seal-security/undici >=4.16.0-sp1, <4.16.0-sp999>=6.21.1-sp1, <6.21.1-sp999>=6.23.0-sp1, <6.23.0-sp999>=7.18.2-sp1, <7.18.2-sp999>=7.19.2-sp1, <7.19.2-sp2p2+1 more 4.16.0-sp9996.21.1-sp9996.23.0-sp9997.18.2-sp9997.19.2-sp2p2
Seal npm undici >=4.16.0-sp0, <4.16.0-sp999>=6.21.1-sp0, <6.21.1-sp999>=6.23.0-sp0, <6.23.0-sp999>=7.18.2-sp0, <7.18.2-sp999>=7.19.2-sp0, <7.19.2-sp2p2+1 more 4.16.0-sp9996.21.1-sp9996.23.0-sp9997.18.2-sp9997.19.2-sp2p2

Open a package to see all its vulnerabilities.

Operating systems · 62 fixes

Azure Linux 1 release · 1 package

fixed 1
nodejs
Azure Linux fixes for CVE-2026-16729
ReleasePackageFixed in
3.0 nodejs 0:24.22.0-1.azl3

SUSE Linux Enterprise 4 releases · 2 packages

fixed 5
nodejs18 nodejs20
SUSE Linux Enterprise fixes for CVE-2026-16729
ReleasePackageFixed inAdvisory
12.5 nodejs18 +3 18.20.8-8.44.1 SUSE-SU-2026:4248-1
15.4 nodejs18 +3 18.20.8-150400.9.39.1 SUSE-SU-2026:4261-1
15.5 nodejs18 +3 18.20.8-150400.9.39.1 SUSE-SU-2026:4261-1
15.5 nodejs20 +3 20.20.2-150500.11.30.1 SUSE-SU-2026:3930-1
15.6 nodejs20 +3 20.20.2-150600.3.21.1 SUSE-SU-2026:3929-1

amazon linux 1 release · 6 packages

fixed 6
nodejs22-npm nodejs24-npm nodejs22 nodejs24 v8-12-4-devel v8-13-6-devel
amazon linux fixes for CVE-2026-16729
ReleasePackageFixed in
2023 nodejs22-npm 1:10.9.8-1.22.23.2.1.amzn2023.0.2
2023 nodejs24-npm 1:11.16.0-1.24.18.1.1.amzn2023.0.2
2023 nodejs22 +7 1:22.23.2-1.amzn2023.0.2
2023 nodejs24 +7 1:24.18.1-1.amzn2023.0.2
2023 v8-12-4-devel 3:12.4.254.21-1.22.23.2.1.amzn2023.0.2
2023 v8-13-6-devel 3:13.6.233.17-1.24.18.1.1.amzn2023.0.2

chainguard 1 release · 21 packages

fixed 21
saf npm-12 commercial-gitlab-rails-ee-19-1 commercial-gitlab-rails-ee-fips-19-1 commercial-gitlab-rails-ee-19-2 commercial-gitlab-rails-ee-19-3 +15
chainguard fixes for CVE-2026-16729
ReleasePackageFixed in
saf 1.7.0-r0
npm-12 12.0.2-r2
commercial-gitlab-rails-ee-19-1 19.1.7-r3
commercial-gitlab-rails-ee-fips-19-1 19.1.9-r0
commercial-gitlab-rails-ee-19-2 +1 19.2.7-r1
commercial-gitlab-rails-ee-19-3 +1 19.3.3-r1

15 more rows

debian 3 releases · 1 package

affected 2 fixed 1
node-undici
debian fixes for CVE-2026-16729
ReleasePackageFixed in
12 node-undici affected
13 node-undici affected
14 node-undici 8.9.0+dfsg+~cs3.2.0-1

echo 1 release · 1 package

fixed 1
node-undici
echo fixes for CVE-2026-16729
ReleasePackageFixed in
node-undici 7.3.0+dfsg1+~cs24.12.11-1+e1

minimos 1 release · 17 packages

fixed 17
grist npm node-gyp nginx-proxy-manager-2 n8n uptime-kuma-2-5 +11
minimos fixes for CVE-2026-16729
ReleasePackageFixed in
grist 1.7.18-r0
npm 12.0.2-r1
node-gyp 13.0.2-r0
nginx-proxy-manager-2 2.16.0-r0
n8n 2.36.6-r0
uptime-kuma-2-5 2.5.3-r0

11 more rows

wolfi 1 release · 8 packages

fixed 8
saf npm-12 vitess-24 langfuse-3 pulumi code-server +2
wolfi fixes for CVE-2026-16729
ReleasePackageFixed in
saf 1.7.0-r0
npm-12 12.0.2-r2
vitess-24 24.0.3-r7
langfuse-3 3.225.7-r6
pulumi 3.256.0-r1
code-server 4.130.0-r5

2 more rows

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.