CVE-2026-16221: fast-uri vulnerable to host confusion via literal backslash authority delimiter
Affects fast-uriSource GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 2.4.3 soon.
Data as of 4 Dec 2026, 18:37 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 18% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.4.3, 3.1.4, 4.1.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 21 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Dec 2026.
What to do
Upgrade fast-uri to 2.4.3; fast-uri to 3.1.4; fast-uri to 4.1.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmfast-uri | Affected
| Fixed in
|
| npmfast-uri | Affected
| Fixed in
|
| npmfast-uri | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade fast-uri to version 2.4.3, 3.1.4, or 4.1.1 to address this vulnerability. There are no known workarounds; applying the official patch is required to mitigate the risk.
Description
fast-uri versions 4.1.0 and earlier have a vulnerability where they do not treat a literal backslash as an authority delimiter, unlike Node's native WHATWG URL parser. This discrepancy causes different host extraction results from the same URL string, leading to host confusion. Applications relying on fast-uri for host-based policy enforcement may be bypassed, allowing redirection to unintended hosts including internal or cloud metadata endpoints. The issue is fixed in fast-uri versions 2.4.3, 3.1.4, and 4.1.1.
References
- github.com/fastify/fast-uri/security/advisories/GHSA-v2hh-gcrm-f6hx (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-16221 (opens in a new tab)
- github.com/fastify/fast-uri/commit/0542a216860fd70c062a4730e620576f62ded057 (opens in a new tab)
- github.com/fastify/fast-uri/commit/2d50fbabc80e4d0884fe0f6a98fe118ce6faa353 (opens in a new tab)
- github.com/fastify/fast-uri/commit/9438266d6a7ded688c8bc7c4ba506da17f44a17b (opens in a new tab)
- cna.openjsf.org/security-advisories.html (opens in a new tab)
- github.com/fastify/fast-uri (opens in a new tab)
- github.com/fastify/fast-uri/releases/tag/v2.4.3 (opens in a new tab)
- github.com/fastify/fast-uri/releases/tag/v3.1.4 (opens in a new tab)
- github.com/fastify/fast-uri/releases/tag/v4.1.1 (opens in a new tab)