CVE-2026-16221
HIGH 7.5CVSS 3.1fast-uri vulnerable to host confusion via literal backslash authority delimiter
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.
- Published
- 19 Jul 2026
- Last modified
- 10 Sep 2026
- Assigned by
- ce714d77-add3-4f53-aff5-83d477b104bb
- NVD status
- Analyzed
- Weakness
- CWE-436
- Also known as
- GHSA-v2hh-gcrm-f6hx
- Sources
- NVDJSONOSV GHSA-v2hh-gcrm-f6hxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | ce714d77-add3-4f53-aff5-83d477b104bb (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openjsf | fast-uricpe:2.3:a:openjsf:fast-uri:*:*:*:*:*:node.js:*:* |
>= 2.3.1, < 2.4.3 | 2.4.3 |
| NVD | openjsf | fast-uricpe:2.3:a:openjsf:fast-uri:*:*:*:*:*:node.js:*:* |
>= 3.0.0, < 3.1.4 | 3.1.4 |
| NVD | openjsf | fast-uricpe:2.3:a:openjsf:fast-uri:*:*:*:*:*:node.js:*:* |
>= 4.0.0, < 4.1.1 | 4.1.1 |
| OSV | npm | fast-uri | >= 2.3.1, < 2.4.3 | 2.4.3 |
| OSV | npm | fast-uri | >= 3.0.0, < 3.1.4 | 3.1.4 |
| OSV | npm | fast-uri | >= 4.0.0, < 4.1.1 | 4.1.1 |
References
- https://cna.openjsf.org/security-advisories.html · Vendor Advisory, WEB
- https://github.com/fastify/fast-uri/security/advisories/GHSA-v2hh-gcrm-f6hx · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-16221 · ADVISORY
- https://github.com/fastify/fast-uri/commit/0542a216860fd70c062a4730e620576f62ded057 · WEB
- https://github.com/fastify/fast-uri/commit/2d50fbabc80e4d0884fe0f6a98fe118ce6faa353 · WEB
- https://github.com/fastify/fast-uri/commit/9438266d6a7ded688c8bc7c4ba506da17f44a17b · WEB
- https://github.com/fastify/fast-uri · PACKAGE
- https://github.com/fastify/fast-uri/releases/tag/v2.4.3 · WEB
- https://github.com/fastify/fast-uri/releases/tag/v3.1.4 · WEB
- https://github.com/fastify/fast-uri/releases/tag/v4.1.1 · WEB
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 19 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 21 Jul 2026)