CVE-2026-16221
published high CVSS 3.1 · 7.5fast-uri vulnerable to host confusion via literal backslash authority delimiter
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| fast-uri | — | fast-uri2.3.1 to < 2.4.3 (affected · semver) · 2.4.3 (unaffected · semver) · 3.0.0 to < 3.1.4 (affected · semver) · 3.1.4 (unaffected · semver) · 4.0.0 to < 4.1.1 (affected · semver) · 4.1.1 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | openjs |
Description
Impact: fast-uri versions from 2.3.1 through 4.1.0 (including the 3.x line up to 3.1.3 and the 2.x line up to 2.4.2) do not treat a literal backslash character (U+005C) as an authority delimiter. Node's native WHATWG URL parser, used by fetch, undici, and Node's http and https clients, normalizes the backslash to a forward slash for special schemes such as http, https, ws, wss, ftp, and file. As a result, the two parsers extract different hosts from the same input string. Applications that use fast-uri to enforce host-based policy such as allowlists, denylists, loopback or SSRF filtering, redirect validation, or outbound proxy routing before passing the same URL into Node's URL or fetch consumers can be steered to an unintended destination, including cloud metadata endpoints, loopback, or internal hosts. Patches: upgrade to fast-uri 4.1.1, 3.1.4, or 2.4.3. Workarounds: none.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- openjs · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| fast-uri | fast-uri | 2.3.1 to < 2.4.3 (affected · semver)2.4.3 (unaffected · semver)3.0.0 to < 3.1.4 (affected · semver)3.1.4 (unaffected · semver)4.0.0 to < 4.1.1 (affected · semver)4.1.1 (unaffected · semver)Default: unaffected | openjs · cna |
Weaknesses
1- CWE-436 CWE-436: Interpretation Conflict
References
2Provider assertions
2openjs · cna
fast-uri vulnerable to host confusion via literal backslash authority delimiter
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d6b8c2d1ef282c1c8a444ef83c05eda8223f9c1085e3868492842b57b2d56329
- Ingested
- 23 Sep 2026, 09:02:32 UTC
- Source record
- Official CVE record