Vulnerability · Published Jul 31, 2026 · Assigned by openjs

CVE-2026-18446fast-uri vulnerable to host confusion via backslash authority introducer

High 7.5

In plain English

A high-severity security flaw in fast-uri from fast-uri. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.4%top 67.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

fast-uri before 4.1.2, 3.1.5, and 2.4.4 requires a literal double forward slash to recognize a URI authority, so a reference that uses a backslash based introducer in place of it (backslash backslash, forward slash backslash, or backslash forward slash) is parsed with no authority and folds into the path. Node's native WHATWG URL parser instead treats a backslash as interchangeable with a forward slash for special schemes, so the two parsers extract different hosts from the same input. Applications that use fast-uri to enforce host based policy such as allowlists, SSRF filtering, or redirect validation before passing the same URL into Node's URL or fetch consumers can be steered to an unintended host. Upgrade to fast-uri 4.1.2, 3.1.5, or 2.4.4.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:13node-ajvno fix listedDEBIAN-CVE-2026-18446
Debian:14node-ajv8.20.0~ds+~cs7.1.3-1DEBIAN-CVE-2026-18446
Ubuntu:22.04:LTSnode-ajvno fix listedUBUNTU-CVE-2026-18446
Ubuntu:24.04:LTSnode-ajvno fix listedUBUNTU-CVE-2026-18446
Ubuntu:26.04:LTSnode-ajvno fix listedUBUNTU-CVE-2026-18446
Ubuntu:26.10node-ajvno fix listedUBUNTU-CVE-2026-18446
npmfast-uri4.1.2GHSA-7p8r-x3mc-p8w7
npmfast-uri3.1.5GHSA-7p8r-x3mc-p8w7
npmfast-uri2.4.4GHSA-7p8r-x3mc-p8w7

Affected products (as reported)

VendorProductVersions
fast-uri fast-uri 4.0.0 – before 4.1.23.0.0 – before 3.1.50 – before 2.4.4

Weakness: CWE-436 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

References