CVE-2026-16221 Details
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.
A host confusion vulnerability has been identified in fast-uri versions 2.3.1 prior to 2.4.2, 3.0.0 prior to 3.1.3, and 4.0.0 prior to 4.1.0. The vulnerability arises because these versions do not recognize a literal backslash character as an authority delimiter. This oversight leads to a discrepancy when compared to Node's native WHATWG URL parser, which normalizes backslashes to forward slashes for certain schemes like http, https, ws, wss, ftp, and file. Consequently, the two parsers can extract different hosts from the same input string. Applications using fast-uri to enforce host-based policies—such as allowlists, denylists, loopback or Server-Side Request Forgery (SSRF) filtering, redirect validation, or outbound proxy routing—may be misled to unintended destinations, including cloud metadata endpoints, loopback, or internal hosts.
Users are advised to upgrade to fast-uri versions 4.1.1, 3.1.4, or 2.4.3.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cna.openjsf.org/security-advisories.html | openjs | Vendor Advisory |
| https://github.com/fastify/fast-uri/security/advisories/GHSA-v2hh-gcrm-f6hx | openjs | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-436 | Interpretation Conflict | openjs |
Affected Products
| Product | Versions |
|---|---|
| openjsf fast-uri | >= 2.3.1, < 2.4.3 >= 3.0.0, < 3.1.4 >= 4.0.0, < 4.1.1 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 5, 2026 | Initial Analysis | [email protected] |
| Jul 20, 2026 | CVE Modified | CISA-ADP |
| Jul 19, 2026 | New CVE Received | openjs |