HTTP Request Smuggling Affecting undici package, versions <6.28.0>=7.0.0 <7.29.0>=8.0.0 <8.9.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.18% (8th 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-18426063
  • published30 Jul 2026
  • disclosed29 Jul 2026
  • creditUnknown

Introduced: 29 Jul 2026

NewCVE-2026-16728  (opens in a new tab)
CWE-444  (opens in a new tab)

How to fix?

Upgrade undici to version 6.28.0, 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 HTTP Request Smuggling due to the interceptors.retry() flow in lib/handler/retry-handler.js. An attacker can cause a proxy or gateway that forwards Undici responses to emit a body whose length does not match the Content-Length header by sending a partial 206 response with mismatched framing and closing the connection to trigger a retry or resume. This can corrupt downstream HTTP framing, causing client or intermediary hangs and response parsing errors, and can expose users of the forwarding service to broken responses or connection desynchronization.

CVSS Base Scores

version 4.0
version 3.1