Description
fast-uri versions 2.3.1 through 3.1.2 and 4.0.0 fail to canonicalize Unicode (IDN) hostnames for HTTP-family URLs. The IDN conversion path calls a helper that does not exist on the global URL constructor, silently leaving the host in its original Unicode form while normalize() and equal() still return values that differ from a WHATWG-compatible URL parser. Applications that use fast-uri to enforce host-based policy (denylists, loopback filtering, redirect validation, outbound proxy routing) before passing the same URL to Node's URL or fetch can be bypassed when the two implementations resolve the same input to different hosts. Patches: upgrade to fast-uri 3.1.3 for the 3.x line or 4.0.1 for the 4.x line. Workarounds: enforce host policy using the same URL parser used for the actual request, or reject non-ASCII hosts before policy checks.
Affected products
openjsf: fast-uri
References10
- cna.openjsf.org/security-advisories.html Vendor Advisory
- github.com/fastify/fast-uri/security/advisories/GHSA-4c8g-83qw-… PatchVendor Advisory
- access.redhat.com/errata/RHSA-2026:37186
- access.redhat.com/errata/RHSA-2026:37585
- access.redhat.com/errata/RHSA-2026:37628
- access.redhat.com/errata/RHSA-2026:40118
- access.redhat.com/errata/RHSA-2026:40262
- access.redhat.com/errata/RHSA-2026:40765
- access.redhat.com/errata/RHSA-2026:40945
- access.redhat.com/errata/RHSA-2026:41066
Metrics
- CVSS 3.1
-
7.5
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - EPSS — exploit probability
- 1% percentile: 53 · as of 16 November 2026
- CWE
- CWE-436CWE-551
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.