CVE-2026-13697
CRITICAL 9.1CVSS 3.1undici vulnerable to cross-user information disclosure and parse-time crash via degenerate private cache directives
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.
- Published
- 29 Jul 2026
- Last modified
- 10 Sep 2026
- Assigned by
- ce714d77-add3-4f53-aff5-83d477b104bb
- NVD status
- Analyzed
- Weakness
- CWE-200CWE-248CWE-525
- Also known as
- GHSA-4cwx-7wf7-3272
- Sources
- NVDJSONOSV GHSA-4cwx-7wf7-3272JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| NVD | ce714d77-add3-4f53-aff5-83d477b104bb (Secondary) | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nodejs | undicicpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:* |
>= 7.0.0, < 7.29.0 | 7.29.0 |
| NVD | nodejs | undicicpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:* |
>= 8.0.0, < 8.9.0 | 8.9.0 |
| OSV | npm | undici | >= 7.0.0, < 7.29.0 | 7.29.0 |
| OSV | npm | undici | >= 8.0.0, < 8.9.0 | 8.9.0 |
References
- https://cna.openjsf.org/security-advisories.html · Vendor Advisory, WEB
- https://github.com/nodejs/undici/security/advisories/GHSA-4cwx-7wf7-3272 · Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-13697 · ADVISORY
- https://github.com/nodejs/undici/commit/4fe5bc5fefe5ac81a200fc8e1cf84b8bf8464451 · WEB
- https://github.com/nodejs/undici · PACKAGE
- https://github.com/nodejs/undici/releases/tag/v7.29.0 · WEB
- https://github.com/nodejs/undici/releases/tag/v8.9.0 · WEB
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 29 Jul 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 3 Aug 2026)