Skip to main content
← All vulnerabilities
CVE-2026-6322GHSA-V39H-62P7-JPJC

fast-uri vulnerable to host confusion via percent-encoded authority delimiters

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

Summary

fast-uri normalize() decoded percent-encoded authority delimiters inside the host component and then re-emitted them as raw delimiters during serialization. A host that combined an allowed domain, an encoded at-sign, and a different domain was re-emitted with the at-sign as a raw userinfo separator, changing the URI's authority to the second domain. Applications that normalize untrusted URLs before host allowlist checks, redirect validation, or outbound request routing can be steered to a different authority than the input appeared to specify. Versions <= 3.1.1 are affected. Update to 3.1.2 or later.

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

    fixed in 3.1.2

  • fast-urinpm

    From 3.0.0 · fixed in 3.1.2

  • fast-urinpm

    fixed in 2.4.1

References 2

GitHub · fastify/fast-uri

cna.openjsf.org