CVE-2026-9679
Fixed in a distro release EPSS <1%CVSS 5.9
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.
Products: undici
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| npm | undici | 6.27.0 |
| npm | undici | 7.28.0 |
| npm | undici | 8.5.0 |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Chainguard | actions-runner | 2.335.1-r1 |
| Chainguard | code-server | 4.125.0-r2 |
| Chainguard | commercial-gitlab-rails-ee-19.1 | 19.1.7-r3 |
| Chainguard | commercial-gitlab-rails-ee-19.2 | 19.2.7-r1 |
| Chainguard | commercial-gitlab-rails-ee-19.3 | 19.3.3-r1 |
| Chainguard | commercial-gitlab-rails-ee-fips-19.1 | 19.1.9-r0 |
| Chainguard | commercial-gitlab-rails-ee-fips-19.2 | 19.2.7-r1 |
| Chainguard | commercial-gitlab-rails-ee-fips-19.3 | 19.3.3-r1 |
| Chainguard | gemini-cli | 0.49.0-r4 |
| Chainguard | haraka | 3.3.1-r1 |
| Chainguard | kibana-8.19 | 8.19.16-r6 |
| Chainguard | kibana-8.19-bitnami | 8.19.16-r6 |
| Chainguard | kibana-8.19-iamguarded | 8.19.16-r6 |
| Chainguard | kibana-9.1 | 9.1.10-r21 |
| Chainguard | kibana-9.1-iamguarded | 9.1.10-r21 |
| Chainguard | kibana-9.2 | 9.2.8-r9 |
| Chainguard | kibana-9.2-iamguarded | 9.2.8-r9 |
| Chainguard | kibana-9.3 | 9.3.5-r4 |
| Chainguard | kibana-9.3-iamguarded | 9.3.5-r4 |
| Chainguard | kibana-9.4 | 9.4.2-r5 |
| Chainguard | kibana-9.4-iamguarded | 9.4.2-r5 |
| Chainguard | node-gyp | 13.0.0-r1 |
| Chainguard | npm | 11.17.0-r1 |
| Chainguard | pelias-api | 7.8.0-r4 |
| Chainguard | prism | 5.15.11-r3 |
| Chainguard | py3.10-captum | 0.9.0-r1 |
| Chainguard | py3.11-captum | 0.9.0-r1 |
| Chainguard | py3.12-captum | 0.9.0-r1 |
| Chainguard | py3.13-captum | 0.9.0-r1 |
| Chainguard | renovate | 43.249.5-r2 |
| Chainguard | renovate | 43.247.0-r0 |
| Chainguard | saf | 1.6.0-r2 |
| Chainguard | vitess-24 | 24.0.2-r1 |
| Chainguard | vitess-24-compat | 24.0.3-r7 |
| Debian 13 | node-undici | no fix |
| Debian 14 | node-undici | 8.5.0+dfsg+~cs3.2.0-1 |
| Red Hat hummingbird 1 | nodejs24 | 0:24.18.0-0.3.hum1 |
| Red Hat hummingbird 1 | nodejs24-bin | 0:24.18.0-0.3.hum1 |
| Red Hat hummingbird 1 | nodejs24-devel | 0:24.18.0-0.3.hum1 |
| Red Hat hummingbird 1 | nodejs24-docs | 0:24.18.0-0.3.hum1 |
| Red Hat hummingbird 1 | nodejs24-full-i18n | 0:24.18.0-0.3.hum1 |
| Red Hat hummingbird 1 | nodejs24-libs | 0:24.18.0-0.3.hum1 |
| Red Hat hummingbird 1 | nodejs24-npm | 0:11.16.0-1.24.18.0.0.3.hum1 |
| Red Hat hummingbird 1 | nodejs24-npm-bin | 0:24.18.0-0.3.hum1 |
| Red Hat hummingbird 1 | nodejs26 | 0:26.5.0-1.3.hum1 |
| Red Hat hummingbird 1 | nodejs26-bin | 0:26.5.0-1.3.hum1 |
| Red Hat hummingbird 1 | nodejs26-devel | 0:26.5.0-1.3.hum1 |
| Red Hat hummingbird 1 | nodejs26-docs | 0:26.5.0-1.3.hum1 |
| Red Hat hummingbird 1 | nodejs26-full-i18n | 0:26.5.0-1.3.hum1 |
| Red Hat hummingbird 1 | nodejs26-libs | 0:26.5.0-1.3.hum1 |
| Red Hat hummingbird 1 | nodejs26-npm | 0:11.17.0-1.26.5.0.1.3.hum1 |
| Red Hat hummingbird 1 | nodejs26-npm-bin | 0:26.5.0-1.3.hum1 |
| Red Hat hummingbird 1 | v8-13.6-devel | 0:13.6.233.17-1.24.18.0.0.3.hum1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | nodejs18 | 18.20.8-150400.9.39.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | nodejs18 | 18.20.8-150400.9.39.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | nodejs18 | 18.20.8-150400.9.39.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | nodejs20 | 20.20.2-150500.11.30.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | nodejs18 | 18.20.8-150400.9.39.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | nodejs20 | 20.20.2-150500.11.30.1 |
| SUSE Linux Enterprise Module for Web and Scripting 15 SP7 | nodejs22 | 22.23.0-150700.3.12.1 |
| SUSE Linux Enterprise Module for Web and Scripting 15 SP7 | nodejs24 | 24.17.0-150700.15.11.1 |
| SUSE Linux Enterprise Server 12 SP5-LTSS | nodejs18 | 18.20.8-8.44.1 |
| SUSE Linux Enterprise Server 15 SP4-LTSS | nodejs18 | 18.20.8-150400.9.39.1 |
| SUSE Linux Enterprise Server 15 SP5-LTSS | nodejs18 | 18.20.8-150400.9.39.1 |
| SUSE Linux Enterprise Server 15 SP5-LTSS | nodejs20 | 20.20.2-150500.11.30.1 |
| SUSE Linux Enterprise Server 15 SP6-LTSS | nodejs20 | 20.20.2-150600.3.21.1 |
| SUSE Linux Enterprise Server 15 SP6-LTSS | nodejs22 | 22.23.0-150600.13.18.1 |
| SUSE Linux Enterprise Server 16.0 | nodejs22 | 22.23.0-160000.1.1 |
| SUSE Linux Enterprise Server 16.0 | nodejs24 | 24.18.0-160000.1.1 |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | nodejs18 | 18.20.8-8.44.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | nodejs18 | 18.20.8-150400.9.39.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | nodejs18 | 18.20.8-150400.9.39.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | nodejs20 | 20.20.2-150500.11.30.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | nodejs20 | 20.20.2-150600.3.21.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | nodejs22 | 22.23.0-150600.13.18.1 |
| SUSE Linux Enterprise Server for SAP applications 16.0 | nodejs22 | 22.23.0-160000.1.1 |
| SUSE Linux Enterprise Server for SAP applications 16.0 | nodejs24 | 24.18.0-160000.1.1 |
| Ubuntu 24.04 LTS | node-undici | no fix |
| Ubuntu 25.10 | node-undici | no fix |
| Ubuntu 26.04 LTS | node-undici | no fix |
| Ubuntu 26.10 | node-undici | no fix |
| Wolfi | code-server | 4.125.0-r2 |
| Wolfi | node-gyp | 13.0.0-r1 |
| Wolfi | npm | 11.17.0-r1 |
| Wolfi | prism | 5.15.11-r3 |
| Wolfi | renovate | 43.249.5-r2 |
| Wolfi | renovate | 43.247.0-r0 |
| Wolfi | saf | 1.6.0-r2 |
| Wolfi | vitess-24 | 24.0.2-r1 |
| Wolfi | vitess-24-compat | 24.0.3-r7 |
| openSUSE Leap 16.0 | nodejs22 | 22.23.0-160000.1.1 |
| openSUSE Leap 16.0 | nodejs24 | 24.18.0-160000.1.1 |
| openSUSE Tumbleweed | nodejs24 | 24.17.0-1.1 |