CVE-2026-13697: Node.js Undici

Critical severity, CVSS 9.1. EPSS: 0.6% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Node.js Undici, from 7.0.0, before 7.29.0: fixed in 7.29.0
  • Node.js Undici, from 8.0.0, before 8.9.0: fixed in 8.9.0

Affected products

  • Node.js Undici: from 7.0.0, before 7.29.0 (fixed in 7.29.0); from 8.0.0, before 8.9.0 (fixed in 8.9.0)

Affected packages

Published 2026-07-29. Last modified 2026-08-04.