{"id":"CVE-2026-9678","published":"2026-06-17T17:04:09Z","modified":"2026-06-17T18:05:30Z","title":"undici vulnerable to cross-user information disclosure via shared cache whitespace bypass","vendor":"undici","product":"undici","tier":"tail","description":{"text":"Impact:\nUndici'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.\n\nIn 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.\n\nAffected 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.\n\nPatches:\nUpgrade to undici v7.28.0 or v8.5.0.\n\nWorkarounds:\nIf 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00388,"percentile":0.33826,"provenance":"source"},"cwes":[{"id":"CWE-524","name":"Use of Cache Containing Sensitive Information"}],"references":[{"url":"https://github.com/nodejs/undici/security/advisories/GHSA-pr7r-676h-xcf6","tags":[]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":[]}],"priority":{"score":10.9,"factors":[{"name":"EPSS percentile","points":6.77},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"undici","affectedVersions":[{"vendor":"undici","product":"undici","versions":[">= 7.0.0, < 7.28.0",">= 8.0.0, < 8.5.0"]}],"fixedVersions":[{"vendor":"undici","product":"undici","versions":["7.28.0","8.5.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-17T18:05:24.378630Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"undici","vulnerableRanges":[">=7.0.0, <7.28.0",">=8.0.0, <8.5.0"],"patched":["7.28.0","8.5.0"],"from":["GHSA-pr7r-676h-xcf6"],"provenance":"source"}],"summary":{"text":"The undici HTTP client's cache interceptor (interceptors.cache()) mishandles Cache-Control private or no-cache directives that use whitespace-padded qualified field names such as private=\" authorization\", so responses containing authenticated data are stored in the shared cache. An attacker can obtain one user's authenticated response when a subsequent caller, including an unauthenticated one, resolves to the same cache key, which requires the application to enable shared-cache mode, forward Authorization headers upstream, and receive responses with such non-canonical directives.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:00:38Z"},"euvd":{"id":"EUVD-2026-37766","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-undici-cve-2026-9678","children":[{"from":"CVE-2026-9678","to":"CVE-2026-14643","relation":"variant","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"variant","quote":"This is the whitespace-around-equals variant that the fix for CVE-2026-9678 did not normalize, and it is fixed in undici 7.29.0 and 8.9.0.","from":"CVE.org","in":"CVE-2026-14643"},{"kind":"similar","provenance":"machine","score":0.6,"basis":"same product + CWE + description similarity"}]}]}}