fast-uri Path Traversal Vulnerability via Percent-Encoded Dot Segments

Vulnerability

A path traversal vulnerability has been identified in fast-uri versions through 3.1.0. The issue arises because the library decodes percent-encoded path separators and dot segments before removing dot segments in its normalization and equality comparison functions. This behavior allows distinct URIs to collapse into the same normalized path, potentially bypassing path-based policies in applications that normalize or compare URLs controlled by an attacker. For instance, a path that appears to be within an allowed prefix could normalize to a different location, creating a security risk.

Impact

Exploitation of this vulnerability can lead to unauthorized path traversal, allowing attackers to bypass path-based security policies and access restricted resources or directories.

Remediation

Users are advised to upgrade to fast-uri version 3.1.1 or later.

Added: May 4, 2026, 8:19 PM
Updated: May 4, 2026, 8:19 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
0.6
exploitability
7.4
remediation
0.0
relevance
7.4
threat
0.0
urgency
2.9
incentive
4.2

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.