Path Equivalence Affecting fast-uri package, versions <2.4.8>=3.0.0 <3.1.9>=4.0.0 <4.2.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.25% (16th 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-21279301
  • published20 Oct 2026
  • disclosed20 Oct 2026
  • creditUlises Gascón

Introduced: 20 Oct 2026

NewCVE-2026-110725  (opens in a new tab)
CWE-41  (opens in a new tab)

How to fix?

Upgrade fast-uri to version 2.4.8, 3.1.9, 4.2.3 or higher.

Overview

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

Affected versions of this package are vulnerable to Path Equivalence via the serialize(), normalize(), and resolve() functions when called with the non-default option reference: 'suffix' on a reference that has no authority. A bare colon in the first path segment of the emitted relative reference is not escaped, violating RFC 3986 section 3.3/4.2, which causes the output to reparse as an absolute URI with a scheme rather than a relative reference. An attacker who can influence the URI being serialized can exploit this to inject an unintended scheme into the output.

Note: This is only exploitable when the non-default reference: 'suffix' option is explicitly passed to serialize(), normalize(), or resolve().

CVSS Base Scores

version 4.0
version 3.1