Interpretation Conflict Affecting fast-uri package, versions >=2.3.1 <2.4.3>=3.0.0 <3.1.4>=4.0.0 <4.1.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.22% (13th 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-FASTURI-18021349
  • published20 Jul 2026
  • disclosed19 Jul 2026
  • creditrampage0010

Introduced: 19 Jul 2026

NewCVE-2026-16221  (opens in a new tab)
CWE-436  (opens in a new tab)

How to fix?

Upgrade fast-uri to version 2.4.3, 3.1.4, 4.1.1 or higher.

Overview

fast-uri is a Dependency-free RFC 3986 URI toolbox

Affected versions of this package are vulnerable to Interpretation Conflict via literal backslash handling in parseWithStatus in index.js. An attacker can bypass host-based validation by supplying a URI such as http://evil.com\@allowed.com, causing fast-uri to treat the input as an allowed host while Node’s WHATWG URL parser resolves it to a different destination. This breaks SSRF, redirect, and origin allowlist checks, letting requests be steered to unintended internal, loopback, or metadata endpoints.

Notes

  • The mismatch matters anywhere the same URI string is parsed by fast-uri for policy and then handed to Node consumers that use WHATWG parsing, including fetch(), undici, and Node http/https clients.

CVSS Base Scores

version 4.0
version 3.1