Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. fast-uri
  4. ›
  5. CVE-2026-86472

CVE-2026-86472: fast-uri vulnerable to inconsistent host case normalization via percent-encoded octets

September 29, 2026

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.

References

  • cna.openjsf.org/security-advisories.html
  • github.com/advisories/GHSA-hrr3-gc8f-f4qj
  • github.com/fastify/fast-uri/commit/5dabb86732aa2a7655e258719970e61e12b6b4d1
  • github.com/fastify/fast-uri/releases/tag/v2.4.7
  • github.com/fastify/fast-uri/releases/tag/v3.1.8
  • github.com/fastify/fast-uri/releases/tag/v4.1.5
  • github.com/fastify/fast-uri/security/advisories/GHSA-hrr3-gc8f-f4qj
  • nvd.nist.gov/vuln/detail/CVE-2026-86472

Code Behaviors & Features

Detect and mitigate CVE-2026-86472 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.4.7, all versions starting from 3.0.0 before 3.1.8, all versions starting from 4.0.0 before 4.1.5

Fixed versions

  • 2.4.7
  • 3.1.8
  • 4.1.5

Solution

Upgrade to versions 2.4.7, 3.1.8, 4.1.5 or above.

Impact 4.8 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-178: Improper Handling of Case Sensitivity

Source file

npm/fast-uri/CVE-2026-86472.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:01 +0000.