# CVE-2026-13697: undici vulnerable to cross-user information disclosure and parse-time crash via degenerate private cache directives

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.4
- **CVSS:** 7.4 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.57% (percentile 41, 2026-11-26)
- **CWE:** CWE-200, CWE-248, CWE-525
- **Aliases:** GHSA-4cwx-7wf7-3272
- **Published:** 2026-07-29T16:32:39.519Z
- **Modified:** 2026-09-10T03:51:13.021Z

## 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

## 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

- npm `undici`: affected \>= 7.0.0, \< 7.29.0; fixed 7.29.0, 8.9.0 (osv)
- undici: \>= 7.0.0, \< 7.29.0; \>= 8.0.0, \< 8.9.0 (cvelist)

## Mitigation

- Upgrade undici to one of 7.29.0, 8.9.0 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/nodejs/undici/security/advisories/GHSA-4cwx-7wf7-3272>
- vendor: <https://cna.openjsf.org/security-advisories.html>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-13697>
- patch: <https://github.com/nodejs/undici/commit/4fe5bc5fefe5ac81a200fc8e1cf84b8bf8464451>
- other: <https://github.com/nodejs/undici>
- other: <https://github.com/nodejs/undici/releases/tag/v7.29.0>
- other: <https://github.com/nodejs/undici/releases/tag/v8.9.0>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-13697>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-4cwx-7wf7-3272> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-13697> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-13697>
