{"id":"CVE-2026-90982","published":"2026-09-17T06:55:42Z","modified":"2026-09-17T12:33:23Z","title":"@fastify/static vulnerable to route guard bypass via path case-folding","vendor":"@fastify/static","product":"@fastify/static","tier":"tail","description":{"text":"@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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00585,"percentile":0.41904,"provenance":"source"},"cwes":[{"id":"CWE-178","name":"Improper Handling of Case Sensitivity"},{"id":"CWE-284","name":"Improper Access Control"}],"references":[{"url":"https://github.com/fastify/fastify-static/security/advisories/GHSA-r799-r9gc-m956","tags":[]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":[]}],"priority":{"score":12.1,"factors":[{"name":"EPSS percentile","points":8.38},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"fastify-static","affectedVersions":[{"vendor":"@fastify/static","product":"@fastify/static","versions":["< 10.1.4"]}],"fixedVersions":[{"vendor":"@fastify/static","product":"@fastify/static","versions":["10.1.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-17T12:32:46.853799Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-81383","exploited":false,"provenance":"source"}}