Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. undici
  4. ›
  5. CVE-2026-13697

CVE-2026-13697: undici vulnerable to cross-user information disclosure and parse-time crash via degenerate private cache directives

August 3, 2026

Two issues in undici’s cache interceptor, both fixed by the same patch on lib/util/cache.js:

  1. Shared-cache disclosure: Responses with malformed qualified Cache-Control: private directives such as private="" or private="," can be incorrectly stored in the default shared cache, then served to a later caller with the same cache key.
  2. Parse-time crash: Mixed unqualified-and-qualified private directives in the same header (such as public, max-age=60, private, private="hdr") cause an uncaught TypeError in 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. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 7.0.0 before 7.29.0, all versions starting from 8.0.0 before 8.9.0

Fixed versions

  • 7.29.0
  • 8.9.0

Solution

Upgrade to versions 7.29.0, 8.9.0 or above.

Impact 7.4 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-248: Uncaught Exception
  • CWE-525: Use of Web Browser Cache Containing Sensitive Information

Source file

npm/undici/CVE-2026-13697.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:55 +0000.