Live threats

All CVEs / Nodejs

CVE-2026-13697Nodejs Undici

Critical 9.1 No auth needed

Priority
70
CVSS 3.1
9.1
EPSS
—
Auth required
No
Published
Jul 29, 2026
Updated
Aug 4, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-200, CWE-248, CWE-525
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Undici.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
nodejsundici≥ 7.0.0 < 7.29.0
nodejsundici≥ 8.0.0 < 8.9.0

Official advisories

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.