CVE-2026-13697

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

Configuration 1 (hide)

OR cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:*
cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:*

History

04 Aug 2026, 14:17

Type Values Removed Values Added
CPE cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:*
First Time Nodejs
Nodejs undici
References () https://cna.openjsf.org/security-advisories.html - () https://cna.openjsf.org/security-advisories.html - Vendor Advisory
References () https://github.com/nodejs/undici/security/advisories/GHSA-4cwx-7wf7-3272 - () https://github.com/nodejs/undici/security/advisories/GHSA-4cwx-7wf7-3272 - Mitigation, Vendor Advisory

29 Jul 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-29 17:16

Updated : 2026-08-04 14:17


NVD link : CVE-2026-13697

Mitre link : CVE-2026-13697

CVE.ORG link : CVE-2026-13697


JSON object : View

Products Affected

nodejs

  • undici
CWE
CWE-200

Exposure of Sensitive Information to an Unauthorized Actor

CWE-248

Uncaught Exception

CWE-525

Use of Web Browser Cache Containing Sensitive Information