{"id":"CVE-2026-90982","aliases":["CVE-2026-90982"],"related":[],"kind":"vulnerability","state":"published","title":"@fastify/static vulnerable to route guard bypass via path case-folding","summary":"@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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-09-17T06:55:42.300Z","modified":"2026-09-18T19:07:38.320Z","severity":{"scorer":"openjs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"openjs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-178","CWE-284"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"10.1.4","status":"affected"},{"type":"semver","version":"10.1.4","status":"unaffected"}],"vendor":"@fastify/static","product":"@fastify/static","source":"cvelist"}],"references":[{"url":"https://github.com/fastify/fastify-static/security/advisories/GHSA-r799-r9gc-m956","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":[],"sources":["cvelist","nvd"]}],"credits":["0xRenSec","mcollina","UlisesGascon"],"assigner":"openjs","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-09-17T12:32:46.853Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90982","url":"https://www.cve.org/CVERecord?id=CVE-2026-90982","licence":"CVE Terms of Use","modified":"2026-09-17T12:33:23.661Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90982","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90982","licence":"Public domain","modified":"2026-09-18T19:07:38.320Z"}],"updatedAt":"2026-11-25T22:59:39.210Z","epss":{"score":0.00357,"percentile":0.315,"date":"2026-12-01T12:00:22.000Z"}}