Skip to main content
← All vulnerabilities
CVE-2026-18446GHSA-7P8R-X3MC-P8W7

fast-uri vulnerable to host confusion via backslash authority introducer

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.1.2, 3.1.5, 2.4.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

fast-uri before 4.1.2, 3.1.5, and 2.4.4 requires a literal double forward slash to recognize a URI authority, so a reference that uses a backslash based introducer in place of it (backslash backslash, forward slash backslash, or backslash forward slash) is parsed with no authority and folds into the path. Node's native WHATWG URL parser instead treats a backslash as interchangeable with a forward slash for special schemes, so the two parsers extract different hosts from the same input. Applications that use fast-uri to enforce host based policy such as allowlists, SSRF filtering, or redirect validation before passing the same URL into Node's URL or fetch consumers can be steered to an unintended host. Upgrade to fast-uri 4.1.2, 3.1.5, or 2.4.4.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • fast-uri fast-uri

    From 4.0.0 · fixed in 4.1.2; From 3.0.0 · fixed in 3.1.5; fixed in 2.4.4

  • fast-urinpm

    fixed in 2.4.4

  • fast-urinpm

    From 3.0.0 · fixed in 3.1.5

  • fast-urinpm

    From 4.0.0 · fixed in 4.1.2

References 2

GitHub · fastify/fast-uri

cna.openjsf.org