PT-2026-33313 · Npm · Fastify-Static

·

CVE-2026-6414

·

Published

2026-01-20

·

Updated

2026-07-23

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions @fastify/static versions 8.0.0 through 9.1.0
Description An authentication and authorization bypass exists due to inconsistent URL decoding between the Fastify router and the static file handler. The router treats percent-encoded path separators (%2F) as literal characters, while the static handler decodes them before filesystem resolution. This mismatch allows attackers to circumvent route-based middleware or guards intended to protect specific paths. For example, a request to /admin%2Fsecret.html may not match a guard for /admin/* but will still be resolved and served as /admin/secret.html by the static handler.
Recommendations Upgrade @fastify/static to version 9.1.1.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-6414
GHSA-CXRG-G7R8-W69P
GHSA-Q5QW-H33P-QVWR
GHSA-X428-GHPX-8J92

Affected Products

Fastify-Static