undici vulnerable to cross-user information disclosure via shared cache whitespace bypass
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 4 fixed, 12 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| NodeJS | undici | 7.0.0 to before 7.28.0; 8.0.0 to before 8.5.0 | 7.28.0, 8.5.0 | Patch available | CNA |
| — | undici (npm) | 7.0.0 to before 7.28.0 | 7.28.0 | Patch available | GHSA-pr7r-676h-xcf6 |
| — | undici (npm) | 8.0.0 to before 8.5.0 | 8.5.0 | Patch available | GHSA-pr7r-676h-xcf6 |
- undici VendorNodeJS Affected 7.0.0 to before 7.28.0; 8.0.0 to before 8.5.0 Fixed in 7.28.0, 8.5.0 Patch available CNA
- undici (npm) Vendor— Affected 7.0.0 to before 7.28.0 Fixed in 7.28.0 Patch available GHSA-pr7r-676h-xcf6
- undici (npm) Vendor— Affected 8.0.0 to before 8.5.0 Fixed in 8.5.0 Patch available GHSA-pr7r-676h-xcf6
Remediation
- Fix · CNA undici (undici) Fixed in 7.28.0, 8.5.0
- Fix · GHSA-pr7r-676h-xcf6 undici (npm) Fixed in 7.28.0 Advisory →
- Fix · GHSA-pr7r-676h-xcf6 undici (npm) Fixed in 8.5.0 Advisory →
Red Hat 9 advisories
- RHSA-2026:41947 Released 2026-07-20 · Red Hat rating Importantnodejs:22 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) nodejs-1:22.23.1-1.module+el8.10.0+24500+8eb51621.aarch64::nodejs:22, nodejs-1:22.23.1-1.module+el8.10.0+24500+8eb51621.ppc64le::nodejs:22, nodejs-1:22.23.1-1.module+el8.10.0+24500+8eb51621.s390x::nodejs:22 +28
- RHSA-2026:39868 Released 2026-07-15 · Red Hat rating Importantnodejs:24 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) nodejs-1:24.18.0-1.module+el8.10.0+24481+7a71fac8.aarch64::nodejs:24, nodejs-1:24.18.0-1.module+el8.10.0+24481+7a71fac8.ppc64le::nodejs:24, nodejs-1:24.18.0-1.module+el8.10.0+24481+7a71fac8.s390x::nodejs:24 +25
- RHSA-2026:38236 Released 2026-07-11 · Red Hat rating ImportantRed Hat Hardened Images RPMs Security Update
- Red Hat Hardened Images nodejs24-1:24.18.0-0.3.hum1@aarch64, nodejs24-1:24.18.0-0.3.hum1@src, nodejs24-1:24.18.0-0.3.hum1@x86_64 +16
Show 6 more Red Hat advisories
- RHSA-2026:35892 Released 2026-07-06 · Red Hat rating Importantnodejs:22 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 9) nodejs-1:22.23.1-1.module+el9.8.0+24457+996af7aa.aarch64::nodejs:22, nodejs-1:22.23.1-1.module+el9.8.0+24457+996af7aa.ppc64le::nodejs:22, nodejs-1:22.23.1-1.module+el9.8.0+24457+996af7aa.s390x::nodejs:22 +28
- RHSA-2026:35891 Released 2026-07-06 · Red Hat rating Importantnodejs:24 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 9) nodejs-1:24.18.0-1.module+el9.8.0+24456+b244c3b4.aarch64::nodejs:24, nodejs-1:24.18.0-1.module+el9.8.0+24456+b244c3b4.ppc64le::nodejs:24, nodejs-1:24.18.0-1.module+el9.8.0+24456+b244c3b4.s390x::nodejs:24 +25
- RHSA-2026:35842 Released 2026-07-06 · Red Hat rating Importantnodejs22 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 10) nodejs-1:22.23.1-2.el10_2, nodejs-devel-1:22.23.1-2.el10_2, nodejs-docs-1:22.23.1-2.el10_2 +4
- RHSA-2026:35841 Released 2026-07-06 · Red Hat rating Importantnodejs24 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 10) nodejs24-1:24.18.0-1.el10_2, nodejs24-devel-1:24.18.0-1.el10_2, nodejs24-docs-1:24.18.0-1.el10_2 +3
- RHSA-2026:22380 Released 2026-06-02 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images nodejs26-26.3.0-1.2.hum1@aarch64, nodejs26-26.3.0-1.2.hum1@src, nodejs26-26.3.0-1.2.hum1@x86_64 +14
- RHSA-2026:7378 Released 2026-04-10 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images nodejs25-25.9.0-1.1.hum1@aarch64, nodejs25-25.9.0-1.1.hum1@src, nodejs25-25.9.0-1.1.hum1@x86_64 +14
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
undici 7.28.0, 8.5.0
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2026-08499 undici vulnerable to TLS certificate validation bypass via dropped requestTls in SOCKS5 ProxyAgentPriority LOW 35
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Cryostat 4 | Affected | No fix yet: Fix deferred |
| OpenShift Pipelines | Affected | No fix yet: Fix deferred |
| Red Hat AMQ Broker 7 | Affected | No fix yet: Fix deferred |
| Red Hat Build of Podman Desktop | Affected | No fix yet: Fix deferred |
| Red Hat Developer Hub 1 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift AI (RHOAI) | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Dev Spaces | Affected | No fix yet: Fix deferred |
| Red Hat Openshift Data Foundation 4 | Affected | No fix yet: Fix deferred |
| Self-service automation portal 2 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2026:35841, RHSA-2026:35842 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2026:39868, RHSA-2026:41947 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2026:35891, RHSA-2026:35892 |
| Red Hat Hardened Images | Fixed | RHSA-2026:22380, RHSA-2026:38236, RHSA-2026:7378 |
Not affected: 2 products
- Red Hat Hardened Images
- Red Hat OpenShift AI (RHOAI)
Timeline
- 2026-10-02 Threatist record created from CVE-2026-9678
- 2026-10-03 Alias added: GHSA-pr7r-676h-xcf6
- 2026-10-27 Affected versions changed · Red Hat
- 2026-11-06 Affected versions changed · Red Hat
References
More NodeJS Undici vulnerabilities
- TI-2026-01215 undici is vulnerable to Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') CVSS 3.1CRITICAL 9.8
- TI-2022-16376 `undici.request` vulnerable to SSRF using absolute URL on `pathname` CVSS 3.1CRITICAL 9.8
- TI-2023-09734 CRLF Injection in Nodejs ‘undici’ via host CVSS 3.1MEDIUM 6.5
- TI-2022-13193 CRLF injection in request headers CVSS 3.1MEDIUM 6.5
- TI-2022-16375 CRLF Injection in Nodejs ‘undici’ via Content-Type CVSS 3.1MEDIUM 5.3
- TI-2022-13194 Uncleared cookies on cross-host/cross-origin redirect in undici CVSS 3.1MEDIUM 6.5
Sources
- CVE-2026-9678 · CVE Program
- CVE-2026-9678 · NVD
- FIRST EPSS
- GHSA-pr7r-676h-xcf6 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-9678 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences