Vulnerability
CVE-2026-9679
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.
97 advisories report this vulnerability, across 11 ecosystems.
Advisories
-
ALAS2023-2026-1920
Amazon Linux 2023 - ALAS2023-2026-1920: Important priority package update for nodejs24
-
ALAS2023-2026-1921
Amazon Linux 2023 - ALAS2023-2026-1921: Important priority package update for nodejs22
-
AZL-91188
CVE-2026-9679 affecting package nodejs for versions less than 24.18.1-1
- CGA-23rp-cm7r-744q
- CGA-2f2x-rjm7-p8vr
- CGA-2v74-5mxp-6pwh
- CGA-3237-w82m-fccr
- CGA-3p33-48h2-2pvj
- CGA-46hx-p8gq-443m
- CGA-4mw6-q9mf-5cf9
- CGA-544j-2727-m275
- CGA-5894-7g76-xp93
- CGA-5fpc-c437-8297
- CGA-5mx2-gq8r-3v7q
- CGA-679h-xw7m-g998
- CGA-67j2-7m9g-35j6
- CGA-68mr-c863-2fp5
- CGA-73wg-4hwg-87c9
- CGA-774g-4r4g-q8hh
- CGA-7hwh-7fp6-mp4v
- CGA-7jmr-4hj9-q7rc
- CGA-7p47-mp2j-q5c6
- CGA-8322-5wj9-cfxc
- CGA-84vh-9hw9-xxwp
- CGA-858w-6739-mpq5
- CGA-865g-mwx3-794h
- CGA-86v8-3h7f-7vw6
- CGA-8929-939c-hm82
- CGA-8c7r-mqq7-mf2q
- CGA-8ggq-3c8h-ffqp
- CGA-8xhr-h5x5-6j6j
- CGA-943w-rpm5-gc7r
- CGA-97pc-9rx4-hhp9
- CGA-9xcg-v925-5f44
- CGA-c9c4-7jqh-w9vj
- CGA-ch29-gcg7-rw8q
- CGA-chg2-vpv3-c73v
- CGA-cr66-pq99-8q5v
- CGA-crgr-hmw8-2jg9
- CGA-fg8x-frwv-fj83
- CGA-g4j2-q4cv-2pm3
- CGA-g68p-5vxj-ffwr
- CGA-gcvr-w28g-pv6v
- CGA-gg84-fvrm-c2gc
- CGA-gvrp-v4p2-65f2
- CGA-h475-rhpg-8chq
- CGA-h9g9-rqrg-wvvj
- CGA-hgqg-xpxw-83p2
- CGA-hvgm-qc22-rx9p
- CGA-j25g-hhpp-x3wr
- CGA-j8x2-xw7c-466p
- CGA-jjg7-xwmv-v8g6
- CGA-jvxp-mqq7-wmcp
- CGA-jwj3-fhfm-qg6c
- CGA-mj9w-hhfj-j7xv
- CGA-mwhh-3h84-mv83
- CGA-p562-x7cv-xgcf
- CGA-p8x6-3crw-vp9c
- CGA-q3pc-qq3m-p95r
- CGA-q55x-w3gv-2pjr
- CGA-qx84-p8rm-cx2m
- CGA-r5pr-rfgx-8jj6
- CGA-r7h7-mpgf-fj8v
- CGA-rfh3-3c6x-4gq4
- CGA-rqqx-8hgx-fghc
- CGA-v489-gm2w-c598
- CGA-v7vv-569j-46j7
- CGA-v9wq-qg4v-7jhm
- CGA-vcmw-qjmg-5rp2
- CGA-vcxq-chfc-rqwh
- CGA-w2h8-rj7w-m3qg
- CGA-w45f-xq68-6p39
- CGA-w6cq-jrwh-p4hq
- CGA-wqjv-8p5g-5rcc
- CGA-wqqw-7cqc-v6p3
- CGA-wwf8-xh25-3vmp
- CGA-x6vj-x6hh-4823
- CGA-xrhc-8wm9-rg9q
-
DEBIAN-CVE-2026-9679
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…
-
FEDORA-2026-ce5dac2ed8
nodejs24-24.18.0-1.fc44
-
GHSA-p88m-4jfj-68fv
undici vulnerable to HTTP header injection via Set-Cookie percent-decoding
-
RHSA-2026:38009
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
RHSA-2026:38236
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
-
RHVEX-CVE-2026-9679
undici: undici vulnerable to HTTP header injection via Set-Cookie percent-decoding
-
SUSE-SU-2026:22368-1
Security update for nodejs22
-
SUSE-SU-2026:22565-1
Security update for nodejs24
-
SUSE-SU-2026:2633-1
Security update for nodejs24
-
SUSE-SU-2026:2647-1
Security update for nodejs22
-
SUSE-SU-2026:2695-1
Security update for nodejs22
-
SUSE-SU-2026:3929-1
Security update for nodejs20
-
SUSE-SU-2026:3930-1
Security update for nodejs20
-
SUSE-SU-2026:4248-1
Security update for nodejs18
-
SUSE-SU-2026:4261-1
Security update for nodejs18
-
UBUNTU-CVE-2026-9679
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…
-
openSUSE-SU-2026:11121-1
corepack24-24.17.0-1.1 on GA media
-
openSUSE-SU-2026:21058-1
Security update for nodejs22
-
openSUSE-SU-2026:21236-1
Security update for nodejs24