patchminder
No public exploit found CVE-2026-9679

Vulnerabilityin undici.

Published 17 Jun 2026 · Updated 23 Jun 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
Medium 5.9
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.3% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed versions listed below
In plain words

Impact: undici's cookie parser in parseSetCookie percent-decodes cookie values via qsUnescape, turning encoded sequences like %0D%0A, %00, %3B, and %3D into their literal byte equivalents. RFC 6265 §5.4 does not specify any decoding and browsers do not decode either. Applications that parse a Set-Cookie header and then forward the parsed value into a response header (proxies, middleware, SSR frameworks) become vulnerable to HTTP response header injection: an attacker-controlled upstream can inject arbitrary Set-Cookie, Location, or Cache-Control headers into the application's downstream response, enabling session fixation, open redirect, or cache poisoning. Affected applications are those that use undici's cookie parsing (parseSetCookie, parseCookie, getSetCookies) and forward the parsed cookie value into a response header. This was introduced in undici 7.0.0 via PR #3789. Patches: Upgrade to undici v6.26.0, v7.28.0 or v8.5.0. Workarounds: If upgrade is not immediately possible, do not forward values returned by parseSetCookie/parseCookie/getSetCookies directly into response headers; sanitize the value first to strip or reject CR, LF, NUL, ;, and = bytes.

What to do now
  • Upgrade undici to 6.26.0, 7.28.0, 8.5.0 or later, whichever matches your release line.
  • Upgrade undici (npm) to 6.27.0, 7.28.0, 8.5.0 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
undici
before 6.26.0
6.26.0
CVE record
undici
7.0.0 to before 7.28.0
7.28.0
CVE record
undici
8.0.0 to before 8.5.0
8.5.0
CVE record
undici (npm)
before 6.27.0
6.27.0
GitHub advisory
undici (npm)
7.0.0 to before 7.28.0
7.28.0
GitHub advisory
undici (npm)
8.0.0 to before 8.5.0
8.5.0
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 27 May 2026
    CVE ID reserved by openjs.
  2. 17 Jun 2026
    Published in the CVE List.
  3. 23 Jun 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other undici vulnerabilities

Same weakness: CRLF injection

All CWE-93 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-9679: Vulnerability in undici. https://patchminder.com/cve/cve-2026-9679/ (accessed 5 December 2026).