Medium

fast-uri vulnerable to inconsistent host case normalization via percent-encoded octets

  • Disclosed: 29.09.2026
  • Updated: 11.10.2026 10:22

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 software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
npm package fast-uri < 2.4.7, >= 3.0.0, < 3.1.8, >= 4.0.0, < 4.1.5 2.4.7, 3.1.8, 4.1.5

References

CVSS score 4.8/10
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Weakness (CWE)
CWE-178
Platform
npm
Package
fast-uri
Disclosed
29.09.2026
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-hrr3-gc8f-f4qj - CC BY 4.0

Vulnerability history: fast-uri

All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (13) in the archive
Total entries
13
First → latest
05.2026 09.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 11
  • Medium 2

Disclosures per year

  1. 2026: 13
Severity:
  1. fast-uri vulnerable to inconsistent host case normalization via percent-encoded octets this entry
    Medium · 4.8 CVE-2026-86472 < 2.4.7, >= 3.0.0, < 3.1.8, >= 4.0.0, < 4.1.5 2.4.7, 3.1.8, 4.1.5
  2. High · 7.5 CVE-2026-84292 < 2.4.6, >= 3.0.0, < 3.1.7, >= 4.0.0, < 4.1.4 2.4.6, 3.1.7, 4.1.4
  3. High · 7.5 CVE-2026-84394 >= 2.4.5, < 2.4.6, >= 3.1.6, < 3.1.7, >= 4.1.3, < 4.1.4 2.4.6, 3.1.7, 4.1.4
  4. High · 7.5 CVE-2026-75931 >= 2.4.2, < 2.4.5, >= 3.1.3, < 3.1.6, >= 4.0.1, < 4.1.3 2.4.5, 3.1.6, 4.1.3
  5. High · 7.5 CVE-2026-75975 >= 2.3.1, < 2.4.5, >= 3.0.0, < 3.1.6, >= 4.0.0, < 4.1.3 2.4.5, 3.1.6, 4.1.3
  6. High · 7.5 CVE-2026-75899 >= 2.4.1, < 2.4.5, >= 3.1.2, < 3.1.6, >= 4.0.0, < 4.1.3 2.4.5, 3.1.6, 4.1.3
  7. High · 7.5 CVE-2026-76172 >= 2.3.1, < 2.4.5, >= 3.0.0, < 3.1.6, >= 4.0.0, < 4.1.3 2.4.5, 3.1.6, 4.1.3
  8. High · 7.5 CVE-2026-18446 < 2.4.4, >= 3.0.0, < 3.1.5, >= 4.0.0, < 4.1.2 2.4.4, 3.1.5, 4.1.2
  9. High · 7.5 CVE-2026-16221 >= 2.3.1, < 2.4.3, >= 3.0.0, < 3.1.4, >= 4.0.0, < 4.1.1 2.4.3, 3.1.4, 4.1.1
  10. High · 7.5 CVE-2026-13676 >= 4.0.0, < 4.0.1, >= 3.0.0, < 3.1.3, >= 2.3.1, < 2.4.2 4.0.1, 3.1.3, 2.4.2
  11. High · 7.5 CVE-2026-6322 >= 3.0.0, < 3.1.2, < 2.4.1 3.1.2, 2.4.1
  12. High · 7.5 CVE-2026-6321 >= 3.0.0, < 3.1.1, < 2.4.1 3.1.1, 2.4.1

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.