CVE-2026-13697
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
undicinpm | >= 7.0.0, < 7.29.0 | 7.29.0 |
undicinpm | >= 8.0.0, < 8.9.0 | 8.9.0 |
Affected products
21- osv-coords19 versionspkg:apk/chainguard/langfuse-4pkg:apk/chainguard/langfuse-3pkg:apk/chainguard/renovatepkg:apk/chainguard/langfuse-4-workerpkg:apk/chainguard/langfuse-fips-3-workerpkg:apk/wolfi/langfuse-3pkg:apk/wolfi/langfuse-3-workerpkg:apk/wolfi/code-serverpkg:apk/chainguard/langfuse-fips-4-workerpkg:apk/chainguard/vitess-24pkg:apk/chainguard/pelias-apipkg:apk/chainguard/kibana-9.2pkg:apk/chainguard/langfuse-3-workerpkg:apk/chainguard/langfuse-fips-4pkg:apk/chainguard/kibana-9.2-iamguardedpkg:apk/wolfi/vitess-24pkg:apk/chainguard/code-serverpkg:apk/chainguard/langfuse-fips-3pkg:apk/wolfi/renovate
< 4.3.1-r3+ 18 more
- (no CPE)range: < 4.3.1-r3
- (no CPE)range: < 3.225.0-r3
- (no CPE)range: < 44.11.4-r0
- (no CPE)range: < 4.3.1-r3
- (no CPE)range: < 3.224.3-r9
- (no CPE)range: < 3.225.0-r3
- (no CPE)range: < 3.225.0-r3
- (no CPE)range: < 4.130.0-r5
- (no CPE)range: < 4.4.0-r0
- (no CPE)range: < 24.0.2-r10
- (no CPE)range: < 7.8.0-r7
- (no CPE)range: < 9.2.8-r19
- (no CPE)range: < 3.225.0-r3
- (no CPE)range: < 4.4.0-r0
- (no CPE)range: < 9.2.8-r19
- (no CPE)range: < 24.0.2-r10
- (no CPE)range: < 4.130.0-r5
- (no CPE)range: < 3.224.3-r9
- (no CPE)range: < 44.11.4-r0
Patches
Vulnerability mechanics
References
7- cna.openjsf.org/security-advisories.htmlnvdVendor AdvisoryWEB
- github.com/advisories/GHSA-4cwx-7wf7-3272ghsaADVISORY
- github.com/nodejs/undici/security/advisories/GHSA-4cwx-7wf7-3272nvdMitigationVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-13697ghsaADVISORY
- github.com/nodejs/undici/commit/4fe5bc5fefe5ac81a200fc8e1cf84b8bf8464451ghsaWEB
- github.com/nodejs/undici/releases/tag/v7.29.0ghsaWEB
- github.com/nodejs/undici/releases/tag/v8.9.0ghsaWEB
News mentions
1- Undici npm Package: Five Vulnerabilities Disclosed Together Affecting HTTP Client FunctionsVypr Intelligence · Jul 30, 2026