HTTP Response Header Injection in undici cookie parser
CVE-2026-9679 affects undici's cookie parsing logic, specifically functions such as parseSetCookie, parseCookie, and getSetCookies. The vulnerable behavior is in parseSetCookie, which percent-decodes cookie values via qsUnescape, converting encoded sequences such as %0D%0A, %00, %3B, and %3D into literal control or delimiter bytes. This behavior is inconsistent with RFC 6265 section 5.4 and browser behavior, which do not decode Set-Cookie values in this way. As a result, if an application parses an attacker-controlled upstream Set-Cookie header using undici and then forwards the parsed cookie value into a downstream HTTP response header, the decoded CR/LF and related bytes can be used to inject arbitrary response headers. The issue was introduced in undici 7.0.0 via PR #3789.
Are you exposed to this one?
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
Impact, mitigation & remediation
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Mitigation
If you can’t patch tonight, do this now.
Remediation
Patch, then assume compromise.
Exploits
No public exploits tracked yet. Mallory keeps watching.
No public exploit code observed for this vulnerability.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
Recent activity
6 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.
The version that knows your environment.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.