Skip to main content
← All vulnerabilities
CVE-2026-13697GHSA-4CWX-7WF7-3272

undici vulnerable to cross-user information disclosure and parse-time crash via degenerate private cache directives

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.29.0, 8.9.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

undici's cache interceptor mishandles malformed Cache-Control private directives. In undici 7.0.0 up to before 7.29.0 and 8.0.0 up to before 8.9.0, a response carrying a degenerate qualified private directive, such as private set to an empty value, can be stored in the default shared cache and later served to a different caller with the same cache key, disclosing private response bodies and headers including Set-Cookie. Separately, a Cache-Control header that combines an unqualified private directive with a qualified one triggers an uncaught TypeError in the cache-control parser, which rejects the request and, depending on the consumer's error handling, can terminate the process. Both issues affect applications using the cache interceptor in shared mode, including the default configuration. The issues are fixed in undici 7.29.0 and 8.9.0.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • undici undici

    From 7.0.0 · fixed in 7.29.0; From 8.0.0 · fixed in 8.9.0

  • undicinpm

    From 7.0.0 · fixed in 7.29.0

  • undicinpm

    From 8.0.0 · fixed in 8.9.0

References 2

GitHub · nodejs/undici

cna.openjsf.org