fast-uri vulnerable to inconsistent host case normalization via percent-encoded octets
Impact
fast-uri folds the host to lowercase before it percent-decodes the host, so a percent-encoded uppercase unreserved octet such as %41 decodes to a literal A that is never folded. For a scheme-relative reference (//host) there is no scheme, so the host canonicalization that repairs this on a scheme-bearing URL does not run. As a result parse, normalize, and equal disagree on the same host: parse("//%41.com").host returns "A.com" while parse("//a.com").host and parse("//A.com").host return "a.com", and equal("//%41.com", "//a.com") is false even though equal("//A.com", "//a.com") is true. An application that makes a case-sensitive host decision on fast-uri output for a scheme-relative reference, for example a host allowlist or denylist that compares parse(url).host or uses fast-uri.equal, can be steered past the check with a percent-encoded uppercase octet. Because a hostname is case-insensitive in DNS and HTTP routing, the evading spelling reaches the same host the check meant to gate, so the effect is check evasion rather than reaching a different registrable host.
Patches
Upgrade to fast-uri 4.1.5, 3.1.8, or 2.4.7.
Workarounds
Compare hosts case-insensitively (lowercase the parsed host before any allowlist or denylist decision), or avoid making case-sensitive host decisions on scheme-relative input until upgrading.
Affected Packages
| Ecosystem | Package | Vulnerable Versions | Patched Version |
|---|---|---|---|
| npm |
fast-uri
|
>= 4.0.0, < 4.1.5>= 3.0.0, < 3.1.8< 2.4.7 |
4.1.5
|
Bump redhat-actions/openshift-tools-installer from 1.13.1 to 3.3
Open about 7 hours agoBump fast-uri from 3.1.0 to 3.1.9 in /frontend
Closed about 10 hours agobuild(deps): bump fast-uri from 3.1.4 to 3.1.9
Closed 3 days agochore(deps): Bump the npm_and_yarn group across 1 directory with 12 updates
Closed 4 days agoBump the npm_and_yarn group across 1 directory with 17 updates
Open 4 days agochore(deps): Bump fast-uri from 3.1.7 to 3.1.9
Closed 6 days agobuild(deps): bump fast-uri from 3.1.4 to 3.1.9
Closed 9 days agochore(deps): bump fast-uri from 3.1.5 to 3.1.9
Open 11 days agobuild(deps): bump the npm_and_yarn group across 1 directory with 9 updates
Open 11 days agochore(deps-dev): bump fast-uri from 3.1.3 to 3.1.9 in the npm_and_yarn group across 1 directory
Closed 13 days agoBump the npm_and_yarn group across 1 directory with 15 updates
Open 13 days agochore(deps): bump the npm_and_yarn group across 1 directory with 18 updates
Open 13 days agoweb: bump fast-uri from 3.1.3 to 3.1.9 in /web
Open 14 days agobuild(deps): bump the npm_and_yarn group across 14 directories with 12 updates
Open 14 days agochore(deps): bump fast-uri from 3.1.0 to 3.1.9
Closed 14 days agobuild(deps): bump the npm_and_yarn group across 1 directory with 17 updates
Open 14 days agodeps(deps): bump fast-uri from 3.1.5 to 3.1.9
Open 14 days agoBump the npm_and_yarn group across 1 directory with 17 updates
Open 15 days agochore(deps): bump the npm_and_yarn group across 8 directories with 17 updates
Open 15 days agoBump fast-uri from 3.1.2 to 3.1.9
Closed 15 days agochore(deps): bump the npm_and_yarn group across 1 directory with 5 updates
Open 15 days agochore(deps): bump fast-uri from 3.1.5 to 3.1.9 in /product-explainer
Open 15 days agoBump the npm_and_yarn group across 1 directory with 8 updates
Open 15 days agochore(deps): bump fast-uri from 3.1.2 to 3.1.9 in /website
Open 15 days agochore(deps-dev): bump fast-uri from 3.1.2 to 3.1.9
Open 15 days agochore(deps): bump fast-uri from 3.1.0 to 3.1.9
Open 15 days agoBump fast-uri from 3.1.4 to 3.1.9
Open 16 days agochore(deps): bump fast-uri from 3.1.0 to 3.1.9
Open 16 days agobuild(deps): bump fast-uri from 3.1.0 to 3.1.9
Open 16 days agoBump fast-uri from 3.1.0 to 3.1.9
Open 16 days agochore(deps): bump fast-uri from 3.1.2 to 3.1.9
Open 16 days agobuild(deps): bump fast-uri from 3.1.0 to 3.1.9
Open 16 days agobuild(deps): Bump fast-uri from 3.1.2 to 3.1.9
Closed 16 days agoBump fast-uri from 3.1.7 to 3.1.9 in the npm_and_yarn group across 1 directory
Open 16 days agobuild(deps-dev): bump fast-uri from 3.1.7 to 3.1.9
Open 16 days agoBump fast-uri from 3.1.7 to 3.1.9
Open 16 days agobuild(deps): bump fast-uri from 3.1.2 to 3.1.9
Open 16 days agochore(deps-dev): Bump fast-uri from 3.1.2 to 3.1.9
Closed 16 days agobuild(deps): bump fast-uri from 3.1.7 to 3.1.9 in /test/mcp
Open 16 days agochore(deps): bump fast-uri from 3.1.6 to 3.1.9
Closed 16 days agobuild(deps-dev): bump fast-uri from 3.1.7 to 3.1.9
Open 17 days agochore(deps): bump fast-uri from 3.1.2 to 3.1.9
Open 17 days agoBump fast-uri from 3.1.7 to 3.1.9
Open 17 days agochore(deps): bump fast-uri from 3.1.2 to 3.1.9 in /www
Open 17 days agobuild(deps-dev): bump fast-uri from 3.1.7 to 3.1.9
Open 17 days agoBump fast-uri from 3.1.5 to 3.1.9
Open 17 days agobuild(deps): bump fast-uri from 3.1.2 to 3.1.9 in /Frontend
Open 17 days agochore(deps): bump fast-uri from 3.1.0 to 3.1.9 in /website
Closed 17 days agochore(deps): bump fast-uri from 3.1.7 to 3.1.9
Open 17 days agochore(deps): bump fast-uri from 3.1.5 to 3.1.9
Closed 17 days agoActions
Advisory Details
| Published: | September 29, 2026 about 2 months ago |
| Updated: | November 03, 2026 14 days ago |
| CVSS Score: | 4.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| EPSS: | 0.25% 17th percentile |
| Source: | Github |
| Classification: | GENERAL |
| UUID: | GSA_kwCzR0hTQS1ocnIzLWdjOGYtZjRxas4AB7FS |
PR Statistics
References
- https://github.com/fastify/fast-uri/security/advisories/GHSA-hrr3-gc8f-f4qj
- https://nvd.nist.gov/vuln/detail/CVE-2026-86472
- https://github.com/fastify/fast-uri/commit/5dabb86732aa2a7655e258719970e61e12b6b4d1
- https://cna.openjsf.org/security-advisories.html
- https://github.com/fastify/fast-uri/releases/tag/v2.4.7
- https://github.com/fastify/fast-uri/releases/tag/v3.1.8
- https://github.com/fastify/fast-uri/releases/tag/v4.1.5
- https://github.com/advisories/GHSA-hrr3-gc8f-f4qj