CVE-2026-9678
undici vulnerable to cross-user information disclosure via shared cache whitespace bypass
Check your servers for CVE-2026-9678
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-9678 affects undici, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
Impact: Undici's cache interceptor incorrectly classifies some responses as cacheable when the upstream Cache-Control header uses whitespace-padded qualified private or no-cache field names such as private=" authorization" or no-cache="\tauthorization". The parser preserves the surrounding whitespace, so later comparisons against the literal authorization field name fail and the response is stored.
In shared-cache mode, this allows a response containing one user's authenticated data to be served from cache to a subsequent caller, including an unauthenticated caller, when both requests resolve to the same cache key.
Affected applications are those that explicitly enable the cache interceptor (interceptors.cache()) in shared mode, forward Authorization headers upstream, and receive cacheable responses with non-canonical qualified private or no-cache directives.
Patches: Upgrade to undici v7.28.0 or v8.5.0.
Workarounds: If upgrade is not immediately possible, disable shared-cache mode for traffic that includes Authorization headers, avoid caching responses to authenticated requests, or add Vary: Authorization upstream.
Severity (CVSS)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity none, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.42%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 28.0% of all scored CVEs. Scores of 30 Nov 2026.
The assessment of CISA (SSVC, 17 Jun 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-524 Use of Cache Containing Sensitive Information
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| undici |
affected from 7.0.0, before 7.28.0 unaffected 7.28.0 affected from 8.0.0, before 8.5.0 unaffected 8.5.0
Other versions: unaffected
|
Is my server affected?
Find the installed version of undici and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i undici
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-9678 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-9678RHEL, Rocky, Alma, Fedora
rpm -q undici
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-9678Alpine
apk list --installed | grep -i undiciWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-9678
trivy image --scanners vuln IMAGE | grep CVE-2026-9678
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://github.com/nodejs/undici/security/advisories/GHSA-pr7r-676h-xcf6 github.com
- https://cna.openjsf.org/security-advisories.html cna.openjsf.org
Source: the record CVE-2026-9678 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse