cve.bz

CVE-2026-16729 nodejs undici: Injection

6.5 mediumEPSS 0.3%Fix available

Medium (6.5) in nodejs undici. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in undici 6.28.0, 7.29.0, 8.9.0.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 21st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-07-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-16729 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-16729?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-16729?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-16729 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
undicibefore 6.28.0
undicifrom 7.0.0 before 7.29.0
undicifrom 8.0.0 before 8.9.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v3r7-h72x-cjcmnpmundici<6.28.06.28.0
GHSA-v3r7-h72x-cjcmnpmundici>=7.0.0 <7.29.07.29.0
GHSA-v3r7-h72x-cjcmnpmundici>=8.0.0 <8.9.08.9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13node-undicino fix listedDEBIAN-CVE-2026-16729
Debian14node-undici8.9.0+dfsg+~cs3.2.0-1DEBIAN-CVE-2026-16729
Ubuntu24.04:LTS, 26.04:LTS, 26.10node-undicino fix listedUBUNTU-CVE-2026-16729
Red Hathummingbird:1nodejs24, nodejs24-bin, nodejs24-docs and 4 more1:24.18.1-0.1.hum1RHSA-2026:48537
Red Hathummingbird:1nodejs24-npm1:11.16.0-1.24.18.1.0.1.hum1RHSA-2026:48537
Red Hathummingbird:1nodejs26, nodejs26-bin, nodejs26-docs and 4 more1:26.5.1-1.5.hum1RHSA-2026:48273
Red Hathummingbird:1nodejs26-npm1:11.17.0-1.26.5.1.1.5.hum1RHSA-2026:48273
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morenodejs1818.20.8-150400.9.39.1SUSE-SU-2026:4261-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Server 15 SP5-LTSS and 1 morenodejs2020.20.2-150500.11.30.1SUSE-SU-2026:3930-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5nodejs1818.20.8-8.44.1SUSE-SU-2026:4248-1
SUSELinux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6nodejs2020.20.2-150600.3.21.1SUSE-SU-2026:3929-1
Azure Linux3nodejs24.22.0-1AZL-94443

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Hardened Imagesnodejs26-main-11.17.0-1.26.5.1.1.5.hum1Fixed 2026-07-29RHSA-2026:48273
Red Hat Hardened Imagesnodejs26-main-26.5.1-1.5.hum1Fixed 2026-07-29RHSA-2026:48273
Red Hat Hardened Imagesnodejs24-main-11.16.0-1.24.18.1.0.1.hum1Fixed 2026-07-30RHSA-2026:48537
Red Hat Hardened Imagesnodejs24-main-24.18.1-0.1.hum1Fixed 2026-07-30RHSA-2026:48537
Red Hat Hardened Imagesgrafana12.4Not affected
Red Hat Hardened ImagesjaegerNot affected
Red Hat Hardened Imagesnodejs25Will not fix
Red Hat Hardened Imagesprometheus3.13Not affected
Red Hat Hardened ImagesrustNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-16729.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-74 (37).

References

Check your stackJSON