Medium severity · published Sep 17, 2026
CVE-2026-90982
@fastify/static vulnerable to route guard bypass via path case-folding
5.3
CVSS
0.6%
EPSS
No
On KEV
Description
@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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 48% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FA
@fastify/static · @fastify/static
before 10.1.4 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-90982
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-90982
cna.openjsf.org
https://cna.openjsf.org/security-advisories.html
github.com
https://github.com/fastify/fastify-static/security/advisories/GHSA-r799-r9gc-m956
More from @fastify/static
7.5
CVE-2026-18427
@fastify/static vulnerable to route guard bypass via non-canonical path segments
7.5
CVE-2026-15074
@fastify/static vulnerable to route guard bypass via path traversal
5.9
CVE-2026-6414
@fastify/static vulnerable to route guard bypass via encoded path separators
5.3
CVE-2026-7120
@fastify/static vulnerable to Authorization Bypass via Non-Canonical URL Paths
5.3
CVE-2026-6410
@fastify/static vulnerable to path traversal in directory listing
