๐Ÿ” CVE Alert

CVE-2026-90982

MEDIUM 5.3

@fastify/static vulnerable to route guard bypass via path case-folding

CVSS Score
5.3
EPSS Score
0.0%
EPSS Percentile
0th

@fastify/static is a Fastify plugin that serves static files from a configured root directory. In versions before 10.1.4, on a case-insensitive filesystem such as Windows or the default macOS volume, a route guard or allowedPath restriction can be bypassed by altering the letter case of a path segment. The route matcher is case-sensitive while the filesystem is not, so a request that changes the case of a protected segment does not match the guarded route and falls through to the static handler, yet the filesystem resolves it to the same protected file. As a result, an unauthenticated request can read a file that a route guard or allowedPath was configured to protect. The issue does not affect case-sensitive filesystems and is not a directory traversal, since nothing is served from outside the configured root. The issue is fixed in @fastify/static 10.1.4, which validates the requested path against its actual on-disk spelling and rejects case-aliased paths before authorization. As a workaround, serve static files from a case-sensitive filesystem, or ensure route guards and allowedPath rules account for every letter-case variant of the protected paths.

CWE CWE-178 CWE-284
Vendor @fastify/static
Product @fastify/static
Published Sep 17, 2026
Stay Ahead of the Next One

Get instant alerts for @fastify/static @fastify/static

Be the first to know when new medium vulnerabilities affecting @fastify/static @fastify/static are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

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

Affected Versions

@fastify/static / @fastify/static
0 < 10.1.4

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/fastify/fastify-static/security/advisories/GHSA-r799-r9gc-m956 cna.openjsf.org: https://cna.openjsf.org/security-advisories.html

Credits

๐Ÿ” 0xRenSec mcollina UlisesGascon