Description
undici's cache interceptor mishandles malformed Cache-Control private directives. In undici 7.0.0 up to before 7.29.0 and 8.0.0 up to before 8.9.0, a response carrying a degenerate qualified private directive, such as private set to an empty value, can be stored in the default shared cache and later served to a different caller with the same cache key, disclosing private response bodies and headers including Set-Cookie. Separately, a Cache-Control header that combines an unqualified private directive with a qualified one triggers an uncaught TypeError in the cache-control parser, which rejects the request and, depending on the consumer's error handling, can terminate the process. Both issues affect applications using the cache interceptor in shared mode, including the default configuration. The issues are fixed in undici 7.29.0 and 8.9.0.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| undici | undici | 7.0.0 – < 7.29.0, 8.0.0 – < 8.9.0 | 7.29.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-undici | 8.9.0+dfsg+~cs3.2.0-1 | — |
| Debian 13 | node-undici | No fix yet | — |
| Debian 12 | node-undici | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | node-undici | No fix yet | — |
| Ubuntu 26.04 LTS | node-undici | No fix yet | — |
| Ubuntu 24.04 LTS | node-undici | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | nodejs24 +6 | 24.18.1-0.1.hum1 | RHSA-2026:48537 |
| Red Hat Hardened Images 1 | nodejs24-npm | 11.16.0-1.24.18.1.0.1.hum1 | RHSA-2026:48537 |
| Red Hat Hardened Images 1 | nodejs26 +6 | 26.5.1-1.5.hum1 | RHSA-2026:48273 |
| Red Hat Hardened Images 1 | nodejs26-npm | 11.17.0-1.26.5.1.1.5.hum1 | RHSA-2026:48273 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | nodejs-nodemon | 3.1.14-1.module+el9.8.0+40263+faa47049 | RLSA-2026:97855 |
| Rocky Linux 9 | nodejs-packaging | 2021.06-6.module+el9.7.0+40052+e32ea525 | RLSA-2026:97855 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | nodejs24 +4 | 1:24.18.1-1.amzn2023.0.2 | ALAS2023-2026-2059 |
| Amazon Linux 2023 | nodejs24-npm | 1:11.16.0-1.24.18.1.1.amzn2023.0.2 | ALAS2023-2026-2059 |
| Amazon Linux 2023 | v8-13.6-devel | 3:13.6.233.17-1.24.18.1.1.amzn2023.0.2 | ALAS2023-2026-2059 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | code-server | 4.130.0-r5 | — |
| Wolfi rolling | langfuse-3 +1 | 3.225.0-r3 | — |
| Wolfi rolling | langfuse-3-compat | 3.225.7-r6 | — |
| Wolfi rolling | renovate | 44.11.3-r0 | — |
| Wolfi rolling | vitess-24 | 24.0.2-r10 | — |
| Wolfi rolling | vitess-24-compat | 24.0.3-r7 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | undici | >= 7.0.0, < 7.29.0 | 7.29.0 | GHSA-4cwx-7wf7-3272 |
| npm | undici | >= 8.0.0, < 8.9.0 | 8.9.0 | GHSA-4cwx-7wf7-3272 |
Advisories 5
- RLSA-2026:97855 Important: nodejs:26 security update Rocky Linux Security Advisories · Nov 11, 2026
- WID-SEC-2026-3621 IBM App Connect Enterprise: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 9, 2026
- RHSA-2026:48537 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:48273 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- ALAS2023-2026-2059 Important: nodejs24 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Aug 21, 2026