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
|
chore(deps): bump fast-uri from 3.1.7 to 3.1.9 in /website
Open 1 day agobuild(deps): bump fast-uri from 3.1.5 to 3.1.9
Open 2 days agochore(deps): bump the npm_and_yarn group across 1 directory with 7 updates
Open 2 days agochore(deps): bump fast-uri from 3.1.6 to 3.1.9
Open 3 days agoBump the npm_and_yarn group across 1 directory with 9 updates
Closed 4 days agobuild(deps): bump fast-uri from 3.1.7 to 3.1.8
Closed 5 days agoBump redhat-actions/openshift-tools-installer from 1.13.1 to 3.2
Open 5 days agoBump the npm_and_yarn group across 1 directory with 9 updates
Open 6 days agobuild(deps): bump the npm_and_yarn group across 1 directory with 14 updates
Open 6 days agoBump fast-uri from 3.1.7 to 3.1.8
Open 6 days agochore(deps): Bump fast-uri from 3.1.2 to 3.1.8
Open 6 days agoBump the npm_and_yarn group across 1 directory with 22 updates
Open 6 days agoBump the npm_and_yarn group across 1 directory with 8 updates
Closed 6 days agochore(deps): bump fast-uri from 3.1.2 to 3.1.8
Closed 7 days agobuild(deps): bump fast-uri from 3.1.7 to 3.1.8 in /src/frontend
Open 7 days agochore(deps): bump the npm-security-updates group across 2 directories with 12 updates
Open 8 days agoBump the npm_and_yarn group across 23 directories with 14 updates
Closed 8 days agoBAU: Bump the dev-dependencies group across 1 directory with 13 updates
Open 9 days agodeps: bump fast-uri from 3.1.7 to 3.1.8
Closed 9 days agochore(deps-dev): Bump the npm-routine group across 1 directory with 6 updates
Open 9 days agobuild(deps): bump the npm_and_yarn group across 1 directory with 5 updates
Open 10 days agoBump the npm_and_yarn group across 1 directory with 7 updates
Open 10 days agoBump the npm_and_yarn group across 1 directory with 7 updates
Closed 11 days agochore(deps): bump the npm_and_yarn group across 2 directories with 8 updates
Closed 11 days agochore(deps): bump the npm_and_yarn group across 1 directory with 9 updates
Closed 11 days agoBump the npm-security-updates group across 1 directory with 16 updates
Open 11 days agochore(deps): bump the npm_and_yarn group across 1 directory with 18 updates
Closed 13 days agobuild(deps): Bump fast-uri from 3.1.0 to 3.1.8
Open 13 days agochore(deps): bump the npm_and_yarn group across 1 directory with 19 updates
Closed 14 days agobuild(deps): bump fast-uri from 3.1.2 to 3.1.8
Open 14 days agochore(deps): bump the npm_and_yarn group across 1 directory with 8 updates
Open 14 days agochore(deps): bump the npm_and_yarn group across 3 directories with 6 updates
Closed 14 days agochore(deps): bump the npm_and_yarn group across 4 directories with 7 updates
Open 14 days agobuild(deps-dev): bump @redocly/cli from 2.58.1 to 2.60.0 in /configs
Closed 14 days agoBump fast-uri from 3.1.5 to 3.1.8
Closed 15 days agoBump the npm_and_yarn group across 1 directory with 10 updates
Closed 15 days agoBump the npm_and_yarn group across 1 directory with 9 updates
Open 15 days agobuild(deps): Bump fast-uri from 3.1.7 to 3.1.8
Closed 16 days agoBump fast-uri from 3.1.0 to 3.1.8
Open 16 days agoBump the npm_and_yarn group across 1 directory with 18 updates
Open 17 days agobuild(deps): bump the npm_and_yarn group across 1 directory with 5 updates
Closed 17 days agochore(deps): bump fast-uri from 3.1.7 to 3.1.8
Open 17 days agochore(deps): bump the npm_and_yarn group across 2 directories with 8 updates
Open 17 days agochore(deps): bump fast-uri from 3.1.7 to 3.1.8
Open 18 days agobuild(deps): bump fast-uri from 3.1.2 to 3.1.8
Open 19 days agobuild(deps): bump fast-uri from 3.1.4 to 3.1.8 in /labextension/ui-tests
Closed 19 days ago⬆️ Bump fast-uri from 3.1.7 to 3.1.8 in the npm_and_yarn group across 1 directory
Closed 19 days agochore(deps): bump fast-uri from 3.1.6 to 3.1.8 in /frontend
Open 19 days agochore(deps): bump the all-security group across 1 directory with 5 updates
Closed 19 days agochore(deps): bump fast-uri from 3.1.4 to 3.1.8 in /mcp-server
Closed 19 days agoActions
Advisory Details
| Published: | September 29, 2026 24 days ago |
| Updated: | October 14, 2026 10 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% 16th 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