Skip to main content
← All vulnerabilities
CVE-2026-6321GHSA-Q3J6-QGPJ-74H6

fast-uri vulnerable to path traversal via percent-encoded dot segments

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

Summary

fast-uri decoded percent-encoded path separators and dot segments before applying dot-segment removal in its normalize() and equal() functions. Encoded path data was treated like real slashes and parent-directory references, so distinct URIs could collapse onto the same normalized path. Applications that normalize or compare attacker-controlled URLs to enforce path-based policy can be bypassed, with a path that appears confined under an allowed prefix normalizing to a different location. Versions <= 3.1.0 are affected. Update to 3.1.1 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.1

  • fast-urinpm

    From 3.0.0 · fixed in 3.1.1

  • fast-urinpm

    fixed in 2.4.1

References 2

GitHub · fastify/fast-uri

cna.openjsf.org