Insufficient Verification of Data Authenticity Affecting undici package, versions >=7.0.0 <7.29.1>=8.0.0 <8.10.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.12% (2nd 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-19635220
  • published6 Sept 2026
  • disclosed4 Sept 2026
  • creditJoshua Rogers

Introduced: 4 Sep 2026

NewCVE-2026-85008  (opens in a new tab)
CWE-345  (opens in a new tab)

How to fix?

Upgrade undici to version 7.29.1, 8.10.2 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 Insufficient Verification of Data Authenticity in the interceptors.cache() interceptor, whose skip-list construction subtracts the configured methods from the safe-method set instead of excluding the unsafe methods (POST, PUT, PATCH, DELETE), and whose canCacheResponse storage gate does not validate the method. An attacker can have a fabricated response served for later state-changing requests, which then never reach the origin, by returning from an untrusted origin a heuristically cacheable response such as a 404 that carries an explicit Cache-Control: max-age directive to an unsafe method. This applies under the default cache configuration (methods: ['GET']) and requires the origin to return a heuristically cacheable response bearing an explicit cache-control directive.

CVSS Base Scores

version 4.0
version 3.1