CVE-2026-13697
undici vulnerable to cross-user information disclosure and parse-time crash via degenerate private cache directives
Also known as GHSA-4cwx-7wf7-3272
Mitigation
- Upgrade undici to one of 7.29.0, 8.9.0 (or later in the same release line).
Who should check
- Projects that depend on npm package undici (>= 7.0.0, < 7.29.0)
- Anyone running undici >= 7.0.0, < 7.29.0; >= 8.0.0, < 8.9.0
Vulnerability facts
- Affected
- undici >= 7.0.0, < 7.29.0
- Fixed in
- 7.29.0, 8.9.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.4 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.57% chance of exploitation in 30 days (percentile 41, 2026-11-26)
- CWE
- CWE-200, CWE-248, CWE-525
- Modified
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 and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-13697. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-13697.md Affected: undici >= 7.0.0, < 7.29.0 Fixed in: 7.29.0, 8.9.0 Steps: 1. Search this machine and project for undici (npm), undici: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2026-13697 being exploited?
There is no confirmed exploitation: CVE-2026-13697 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.57% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-13697?
High: CVSS 7.4 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-13697?
undici >= 7.0.0, < 7.29.0.
Is there a fix for CVE-2026-13697?
Yes. Fixed in 7.29.0, 8.9.0. Upgrade undici to one of 7.29.0, 8.9.0 (or later in the same release line).
How do I check if I'm affected by CVE-2026-13697?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.