CVE-2026-13697: undici vulnerable to cross-user information disclosure and parse-time crash via degenerate private cache directives
Two issues in undici’s cache interceptor, both fixed by the same patch on lib/util/cache.js:
- Shared-cache disclosure: Responses with malformed qualified
Cache-Control: privatedirectives such asprivate=""orprivate=","can be incorrectly stored in the default shared cache, then served to a later caller with the same cache key. - Parse-time crash: Mixed unqualified-and-qualified
privatedirectives in the same header (such aspublic, max-age=60, private, private="hdr") cause an uncaughtTypeErrorin the cache-control parser, terminating the request.
References
- cna.openjsf.org/security-advisories.html
- github.com/advisories/GHSA-4cwx-7wf7-3272
- github.com/nodejs/undici/commit/4fe5bc5fefe5ac81a200fc8e1cf84b8bf8464451
- github.com/nodejs/undici/releases/tag/v7.29.0
- github.com/nodejs/undici/releases/tag/v8.9.0
- github.com/nodejs/undici/security/advisories/GHSA-4cwx-7wf7-3272
- nvd.nist.gov/vuln/detail/CVE-2026-13697
Code Behaviors & Features
Detect and mitigate CVE-2026-13697 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →