Bug 2458939 (CVE-2026-6414) - CVE-2026-6414 @fastify/static: @fastify/static: Security bypass via percent-encoded path separators
Summary: CVE-2026-6414 @fastify/static: @fastify/static: Security bypass via percent-e...
Keywords:
Status: NEW
Alias: CVE-2026-6414
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-04-16 14:01 UTC by OSIDB Bzimport
Modified: 2026-04-16 19:52 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-04-16 14:01:50 UTC
@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.


Note You need to log in before you can comment on or make changes to this bug.