Vulnerability · Published Jul 29, 2026 · Assigned by openjs
CVE-2026-13697undici vulnerable to cross-user information disclosure and parse-time crash via degenerate private cache directives
High 7.4
In plain English
A high-severity information exposure in undici from undici. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | node-undici | no fix listed | DEBIAN-CVE-2026-13697 |
| Debian:13 | node-undici | no fix listed | DEBIAN-CVE-2026-13697 |
| Debian:14 | node-undici | 8.9.0+dfsg+~cs3.2.0-1 | DEBIAN-CVE-2026-13697 |
| Ubuntu:24.04:LTS | node-undici | no fix listed | UBUNTU-CVE-2026-13697 |
| Ubuntu:26.04:LTS | node-undici | no fix listed | UBUNTU-CVE-2026-13697 |
| Ubuntu:26.10 | node-undici | no fix listed | UBUNTU-CVE-2026-13697 |
| npm | undici | 8.9.0 | GHSA-4cwx-7wf7-3272 |
| npm | undici | 7.29.0 | GHSA-4cwx-7wf7-3272 |
Affected products (as reported)
Weakness: CWE-200, CWE-248, CWE-525 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H