Description
undici's cache interceptor mishandles optional whitespace placed around the equals sign of a qualified no-cache or private Cache-Control directive. In undici from 7.0.0 up to before 7.29.0 and from 8.0.0 up to before 8.9.0, the parser either drops the directive or stores a field name with literal quote characters, so the cache decision fails to recognize the qualification and the response is stored. In shared-cache mode, this lets a response containing one user's authenticated data be served from cache to a later caller, including an unauthenticated one, when both requests resolve to the same cache key. It affects applications that enable the cache interceptor in shared mode, forward Authorization headers upstream, and receive cacheable responses with qualified directives padded with whitespace around the equals sign. 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.
Published: 2026-07-29
Score: 5.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

undici's cache interceptor misparses Cache‑Control directives that contain optional whitespace around the equals sign in no‑cache or private directives. This causes the directive to be ignored or recorded incorrectly, allowing responses that would normally be deemed non‑cacheable to be stored in the shared cache. A subsequent request that resolves to the same cache key can retrieve a response containing another user's authenticated data, leading to cross‑user information disclosure.

Affected Systems

Affected versions include undici releases from 7.0.0 up to before 7.29.0 and from 8.0.0 up to before 8.9.0. Applications that enable the cache interceptor, operate in shared‑cache mode, forward Authorization headers, and receive cacheable responses with qualified Cache‑Control directives containing spaced‑around‑equals are vulnerable.

Risk and Exploitability

The CVSS score of 5.9 reflects its medium severity. The EPSS score of less than 1% indicates a low likelihood of exploitation, and the vulnerability is not listed in the CISA KEV catalog. Attackers can induce the vulnerable behavior by crafting HTTP requests that trigger cacheable responses with the problematic directives. Based on the description, it is inferred that the likely attack vector involves these crafted requests sent to the cache interceptor. Once cached, an unauthenticated or other user can obtain sensitive data from the shared cache. The issue is fixed in undici 7.29.0 and 8.9.0.

Generated by OpenCVE AI on August 3, 2026 at 12:49 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade undici to 7.29.0 or later, or to 8.9.0 or later to address CWE-436 parsing issues.
  • If upgrading immediately is not possible, disable the shared‑cache mode or configure the interceptor to avoid caching responses that include Authorization headers, mitigating CWE-524 whitespace handling faults.
  • Review application logic to ensure that sensitive data is not inadvertently marked as cacheable or forwarded with whitespace‑padded Cache‑Control directives, addressing both CWE-436 and CWE-524.

Generated by OpenCVE AI on August 3, 2026 at 12:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-jr45-8vmc-qm54 undici vulnerable to cross-user information disclosure via whitespace around equals in Cache-Control directives
History

Wed, 05 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
First Time appeared Redhat
Redhat hummingbird
CPEs cpe:/a:redhat:hummingbird:1
Vendors & Products Redhat
Redhat hummingbird
References
Metrics threat_severity

None

threat_severity

Moderate


Thu, 30 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 29 Jul 2026 22:45:00 +0000

Type Values Removed Values Added
First Time appeared Undici
Undici undici
Vendors & Products Undici
Undici undici

Wed, 29 Jul 2026 21:30:00 +0000

Type Values Removed Values Added
Description undici's cache interceptor mishandles optional whitespace placed around the equals sign of a qualified no-cache or private Cache-Control directive. In undici from 7.0.0 up to before 7.29.0 and from 8.0.0 up to before 8.9.0, the parser either drops the directive or stores a field name with literal quote characters, so the cache decision fails to recognize the qualification and the response is stored. In shared-cache mode, this lets a response containing one user's authenticated data be served from cache to a later caller, including an unauthenticated one, when both requests resolve to the same cache key. It affects applications that enable the cache interceptor in shared mode, forward Authorization headers upstream, and receive cacheable responses with qualified directives padded with whitespace around the equals sign. 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.
Title undici vulnerable to cross-user information disclosure via whitespace around equals in Cache-Control directives
Weaknesses CWE-436
CWE-524
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: openjs

Published:

Updated: 2026-07-30T15:18:09.760Z

Reserved: 2026-07-03T17:49:29.469Z

Link: CVE-2026-14643

cve-icon Vulnrichment

Updated: 2026-07-30T14:20:26.717Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-29T22:16:52.337

Modified: 2026-08-04T15:53:30.723

Link: CVE-2026-14643

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-29T21:08:33Z

Links: CVE-2026-14643 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T13:00:07Z

Weaknesses
  • CWE-436

    Interpretation Conflict

  • CWE-524

    Use of Cache Containing Sensitive Information