Information Exposure Affecting undici package, versions >=7.0.0 <7.29.0>=8.0.0 <8.9.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.33% (25th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-UNDICI-18426521
  • published30 Jul 2026
  • disclosed29 Jul 2026
  • credit@h0rk1p

Introduced: 29 Jul 2026

NewCVE-2026-13697  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade undici to version 7.29.0, 8.9.0 or higher.

Overview

undici is an An HTTP/1.1 client, written from scratch for Node.js

Affected versions of this package are vulnerable to Information Exposure via the cache-control parser in lib/util/cache.js used by interceptors.cache(). An attacker can cause a private response to be stored in the shared cache, or terminate request handling, by sending malformed Cache-Control directives such as private="" or mixed private, private="hdr" values from an upstream response. In shared cache mode, a later request with the same cache key can receive another user's cached body and headers, including sensitive Set-Cookie data, and mixed qualified/unqualified private directives can raise an uncaught TypeError that aborts the request.

CVSS Base Scores

version 4.0
version 3.1