CVE-2026-14643: undici vulnerable to cross-user information disclosure via whitespace around equals in Cache-Control directives

Published Jul 29, 2026
·
Updated

Impact

Undici's cache interceptor mishandles optional whitespace (OWS) placed around the = of a qualified no-cache or private Cache-Control directive, such as no-cache ="authorization" (OWS before =) or no-cache= "authorization" (OWS after =). The parser either drops the directive entirely or stores a field name with literal quote characters, so the downstream cache decisions do not recognize the qualification 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. The impact class is identical to CVE-2026-9678 (GHSA-pr7r-676h-xcf6); this advisory covers the whitespace-around-= bypass that the earlier fix did not normalize.

Affected applications are those that explicitly enable the cache interceptor (interceptors.cache()) in shared mode, forward Authorization headers upstream, and receive cacheable responses with qualified private or no-cache directives whose field-name list is padded with OWS around the =.

Patches

Upgrade to undici v7.29.0 or v8.9.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.

Other sources

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.

NVD

Affected Software

5 affected componentsFixes available
npm/undici>=7.0.0<7.29.0, >=8.0.0<8.9.0
npm/undici>=8.0.0<8.9.0
8.9.0
npm/undici>=7.0.0<7.29.0
7.29.0
Nodejs Undici Node.js>=7.0.0<7.29.0
Nodejs Undici Node.js>=8.0.0<8.9.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/undici to a version that resolves this vulnerability.

    Fixed in 8.9.0
  2. Upgrade

    Upgrade npm/undici to a version that resolves this vulnerability.

    Fixed in 7.29.0
  3. Upgrade

    Upgrade undici to a version that resolves this vulnerability.

    Fixed in 7.29.0
  4. Upgrade

    Upgrade undici to a version that resolves this vulnerability.

    Fixed in 8.9.0
  5. Configuration

    If upgrade is not immediately possible, disable shared-cache mode for traffic that includes `Authorization` headers.

    undici cache interceptor (shared mode) shared-cache mode for traffic that includes Authorization headers = disabled
  6. Configuration

    If upgrade is not immediately possible, avoid caching responses to authenticated requests.

    undici cache interceptor cache responses to authenticated requests = avoid caching
  7. Configuration

    If upgrade is not immediately possible, add `Vary: Authorization` upstream.

    upstream HTTP response headers Vary header = Vary: Authorization

Event History

Jul 29, 2026
CVE Published
via MITRE·09:08 PM
Data Sourced
via MITRE·09:08 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:16 PM
DescriptionSeverityWeaknessAffected Software
Aug 3, 2026
Advisory Published
via GitHub·07:32 PM
Data Sourced
via GitHub·07:32 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-14643?

The severity of CVE-2026-14643 is rated as medium with a score of 5.9.

2

How do I fix CVE-2026-14643?

To fix CVE-2026-14643, upgrade undici to version 7.29.0 or later, or to version 8.9.0 or later.

3

What are the consequences of CVE-2026-14643?

CVE-2026-14643 can lead to cross-user information disclosure due to the improper handling of whitespace in Cache-Control directives.

4

Which versions of undici are affected by CVE-2026-14643?

CVE-2026-14643 affects undici versions from 7.0.0 up to before 7.29.0 and from 8.0.0 up to before 8.9.0.

5

What kind of vulnerabilities does CVE-2026-14643 involve?

CVE-2026-14643 involves cross-user information disclosure vulnerabilities related to Cache-Control directives.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203