{"cve":"CVE-2026-6414","nvd":{"published":"2026-04-16T13:16:52.243","modified":"2026-06-17T11:00:48.070","status":"Analyzed","description":"@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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9},"cwes":["CWE-177"],"references":["https://cna.openjsf.org/security-advisories.html","https://github.com/fastify/fastify-static/security/advisories/GHSA-x428-ghpx-8j92","https://github.com/fastify/middie/security/advisories/GHSA-cxrg-g7r8-w69p","https://github.com/honojs/hono/security/advisories/GHSA-q5qw-h33p-qvwr"],"products":["fastify:fastify-static"],"source":"nvd","synced_at":"2026-10-19T22:30:49.762551342+00:00"},"epss":{"cve":"CVE-2026-6414","score":0.00422,"percentile":0.36527,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-x428-ghpx-8j92","url":"https://osv.dev/vulnerability/GHSA-x428-ghpx-8j92","summary":"@fastify/static vulnerable to route guard bypass via encoded path separators","modified":"2026-07-08T08:14:42.025470174Z","packages":[{"ecosystem":"npm","name":"@fastify/static","purl":"pkg:npm/%40fastify/static","ranges":[">=8.0.0 <9.1.1"],"fixed":["9.1.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}