Home / undici / undici / CVE-2026-9679
CVE-2026-9679: is it exploited, and which versions of undici are affected and fixed?
CVE-2026-9679 is an improper Neutralization of CRLF Sequences vulnerability in undici. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:08 UTC). Affected: undici before 6.27.0, undici from 7.0.0 before 7.28.0 and undici from 8.0.0 before 8.5.0 (GitHub advisory GHSA-p88m-4jfj-68fv). Fixed in 6.27.0, 7.28.0 and 8.5.0 (GitHub advisory GHSA-p88m-4jfj-68fv). Severity: Medium (5.9, CVSS 3.1, from openjs).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:08 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:10 UTC.
What is CVE-2026-9679?
undici vulnerable to HTTP header injection via Set-Cookie percent-decoding
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.
From the CVE record by openjs, last updated June 23, 2026, 16:12 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| undici | undici | before 6.26.0 from 7.0.0 before 7.28.0 from 8.0.0 before 8.5.0 | 6.26.0, 7.28.0, 8.5.0 |
As the CVE record by openjs states it, last updated June 23, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | undici | < 6.27.0 | 6.27.0 | GHSA-p88m-4jfj-68fv |
| npm | undici | >= 7.0.0, < 7.28.0 | 7.28.0 | GHSA-p88m-4jfj-68fv |
| npm | undici | >= 8.0.0, < 8.5.0 | 8.5.0 | GHSA-p88m-4jfj-68fv |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 19, 2026. Summary: undici vulnerable to HTTP header injection via Set-Cookie percent-decoding.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| nodejs | undici | before 6.27.0 | application |
| nodejs | undici | from 7.0.0 before 7.28.0 | application |
| nodejs | undici | from 8.0.0 before 8.5.0 | application |
NVD analysis (status Analyzed), last modified June 25, 2026, 17:43 UTC.
How severe is CVE-2026-9679?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N | openjs |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-9679 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, June 17, 2026)
- EPSS
- 0.26% probability of exploitation activity in the next 30 days, percentile 18.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-93 Improper Neutralization of CRLF Sequences
Where are the vendor advisories and references?
- https://github.com/nodejs/undici/security/advisories/GHSA-p88m-4jfj-68fv
- https://cna.openjsf.org/security-advisories.html
Who found and reported it?
- tndud042713 (reporter)
- mcollina (remediation developer)
- KhafraDev (remediation reviewer)
- UlisesGascon (remediation reviewer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- May 27, 2026
- Published
- June 17, 2026, 16:56 UTC
- CVE record updated
- June 23, 2026, 16:12 UTC by openjs
- NVD
- Analyzed, last modified June 25, 2026, 17:43 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:10 UTC; KEV December 3, 2026, 10:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect undici?
- Nov 6, 2026CVE-2026-116630 undici: origin not validated
- Nov 6, 2026CVE-2026-120415 undici: information disclosure
- Nov 6, 2026CVE-2026-120423 undici: improper Validation of Integrity Check Value
- Nov 6, 2026CVE-2026-116592 undici: origin not validated
- Nov 6, 2026CVE-2026-120222 undici: uncaught exception (crash)
- Nov 6, 2026CVE-2026-120474 undici: use of Cache Containing Sensitive Information
- Oct 15, 2026CVE-2026-87029 undici: uncaught exception (crash)
- Oct 15, 2026CVE-2026-109932 undici: denial of service (uncontrolled resource consumption)
Questions about CVE-2026-9679
Is CVE-2026-9679 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 0.26% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of undici are affected by CVE-2026-9679?
undici before 6.27.0, undici from 7.0.0 before 7.28.0 and undici from 8.0.0 before 8.5.0, per the GitHub advisory GHSA-p88m-4jfj-68fv. The tables above give every range the sources list.
Which version fixes CVE-2026-9679?
6.27.0, 7.28.0 and 8.5.0, per the GitHub advisory GHSA-p88m-4jfj-68fv. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-9679?
Medium (5.9, CVSS 3.1, from openjs). The severity table above shows each score with its source.
Where is the official record of CVE-2026-9679?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.