CVE-2026-13697Nodejs Undici
Critical 9.1 No auth needed
Follow: this CVE · Nodejs · Nodejs Undici We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Auth required
- No
- Published
- Jul 29, 2026
- Updated
- Aug 4, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
What happens
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
- Apply the vendor's security update for Undici.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | undici |
≥ 7.0.0 < 7.29.0 |
7.29.0 |
npm install undici@7.29.0 |
| npm | undici |
≥ 8.0.0 < 8.9.0 |
8.9.0 |
npm install undici@8.9.0 |
Per OSV / GitHub Advisories (GHSA-4cwx-7wf7-3272). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| nodejs | undici | ≥ 7.0.0 < 7.29.0 |
| nodejs | undici | ≥ 8.0.0 < 8.9.0 |
Official advisories
- Red Hat Security Advisory: nodejs26 security, bug fix, and enhancement update · Red Hat · RHSA-2026:98619 · Nov 23, 2026 High
- Red Hat Security Advisory: nodejs:26 security update · Red Hat · RHSA-2026:97855 · Nov 13, 2026 High
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:48537 · Jul 31, 2026 Critical
Also: Red Hat (+1)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- cna.openjsf.org Vendor Advisory
- github.com Mitigation Vendor Advisory