CVEBrief

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.

Exploited in the wild
Not in CISA KEV
KEV 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
Exploit odds (EPSS)
0.26% in 30 days
higher than 19% of CVEs; FIRST, December 2, 2026

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?

VendorProductAffectedFixed or not affected from
undiciundicibefore 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?

EcosystemPackageAffectedFixed inAdvisory
npmundici< 6.27.06.27.0GHSA-p88m-4jfj-68fv
npmundici>= 7.0.0, < 7.28.07.28.0GHSA-p88m-4jfj-68fv
npmundici>= 8.0.0, < 8.5.08.5.0GHSA-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?

VendorProductVersionsType
nodejsundicibefore 6.27.0application
nodejsundicifrom 7.0.0 before 7.28.0application
nodejsundicifrom 8.0.0 before 8.5.0application

NVD analysis (status Analyzed), last modified June 25, 2026, 17:43 UTC.

How severe is CVE-2026-9679?

ScoreVersionVectorSource
Medium 5.9CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:Nopenjs

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?

Where are the vendor advisories and references?

Who found and reported it?

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?

Every CVE in undici

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.