DNA View

CVE-2026-6414

Medium
Low Medium High Critical
5.9
CVSS Score
Published: Apr 16, 2026
Last Modified: Apr 23, 2026

Vulnerability Description

@fastify/static versions 8.0.0 through 9.1.0 decode percent-encoded path separators (%2F) before filesystem resolution, while Fastify's router treats them as literal characters. This mismatch allows attackers to bypass route-based middleware or guards that protect files served by @fastify/static. For example, a route guard on a protected path can be circumvented by encoding the path separator in the URL. Upgrade to @fastify/static 9.1.1 to fix this issue. There are no workarounds.

CVSS Metrics

Common Vulnerability Scoring System

Vector String:

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack Vector
N
Attack Complexity
H
Privileges Required
N
User Interaction
N
Scope
U
Confidentiality
H
Integrity
N
Availability
N

Severity Details

5.9
out of 10.0
Medium

Weakness Type (CWE)

CWE-177

Improper Handling of URL Encoding (Hex Encoding)

Description
The product does not properly handle when all or part of an input has been URL encoded.
Typical Severity
Medium
Abstraction Level
Variant

Key Information

Published Date
April 16, 2026