{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-6414","id":"CVE-2026-6414","title":"@fastify/static vulnerable to route guard bypass via encoded path separators","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 t","descriptionLong":"@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.","published":"2026-04-16T13:09:03.526Z","updated":"2026-10-28T02:31:06.858952126Z","reserved":"2026-04-15T23:37:33.949Z","status":"Analyzed","rejected":false,"assigner":"openjs","metric":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"openjs"},"metrics":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"openjs"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"ce714d77-add3-4f53-aff5-83d477b104bb"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["@fastify/static"],"affectedProducts":[{"vendor":"@fastify/static","product":"@fastify/static","defaultStatus":"unaffected","versions":[{"versionType":"semver","status":"affected","version":"8.0.0","lessThan":"9.1.1"},{"versionType":"semver","status":"unaffected","version":"9.1.1"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@fastify/static","purl":"pkg:npm/%40fastify/static","ranges":[">=8.0.0 <9.1.1"],"fixed":["9.1.1"],"advisory":"GHSA-x428-ghpx-8j92"}],"cwes":["CWE-177"],"aliases":["GHSA-x428-ghpx-8j92"],"references":[{"url":"https://github.com/fastify/middie/security/advisories/GHSA-cxrg-g7r8-w69p","tags":["Not Applicable","advisory","web"]},{"url":"https://github.com/honojs/hono/security/advisories/GHSA-q5qw-h33p-qvwr","tags":["Not Applicable","advisory","web"]},{"url":"https://github.com/fastify/fastify-static/security/advisories/GHSA-x428-ghpx-8j92","tags":["Vendor Advisory","advisory","web"]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":["Third Party Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6414.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6414","tags":["advisory"]},{"url":"https://github.com/fastify/fastify-static","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00429,"epssPercentile":0.37896,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-6414","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6414","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-6414","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-x428-ghpx-8j92","ok":true,"note":"GHSA-x428-ghpx-8j92"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-6414","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}