{"id":"GHSA-x428-ghpx-8j92","revision":null,"records":[{"revision":"d637d969de1d4ea6afb53f6fef561df3","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-6414","aliases":[],"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 the URL. Upgrade to @fastify/static 9.1.1 to fix this issue. There are no workarounds.","state":0,"publishedAt":"2026-04-16T13:09:03.526+00:00","modifiedAt":"2026-04-16T13:48:52.393+00:00","affected":[{"ecosystem":"Vendor product","name":"@fastify/static","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"@fastify/static\",\n                    \"product\": \"@fastify/static\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"versionType\": \"semver\",\n                            \"status\": \"affected\",\n                            \"version\": \"8.0.0\",\n                            \"lessThan\": \"9.1.1\"\n                        },\n                        {\n                            \"versionType\": \"semver\",\n                            \"status\": \"unaffected\",\n                            \"version\": \"9.1.1\"\n                        }\n                    ],\n                    \"packageURL\": \"pkg:npm/@fastify/static\"\n                }"}],"metrics":[{"system":"CVSS 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,"severity":"MEDIUM"}],"references":["https://github.com/fastify/middie/security/advisories/GHSA-cxrg-g7r8-w69p","https://github.com/honojs/hono/security/advisories/GHSA-q5qw-h33p-qvwr","https://github.com/fastify/fastify-static/security/advisories/GHSA-x428-ghpx-8j92","https://cna.openjsf.org/security-advisories.html"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-6414","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-6414","identifiers":["CVE-2026-6414"]},"retained":false,"historicalAffected":[]},{"revision":"52607e3729de4447b533033037275d87","observedAt":"2026-11-23T18:32:17.788+00:00","statement":{"source":"euvd","id":"EUVD-2026-23227","aliases":["CVE-2026-6414"],"title":"@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 middlewar…","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 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,"severity":null}],"references":["https://github.com/fastify/middie/security/advisories/GHSA-cxrg-g7r8-w69p","https://github.com/honojs/hono/security/advisories/GHSA-q5qw-h33p-qvwr","https://github.com/fastify/fastify-static/security/advisories/GHSA-x428-ghpx-8j92","https://cna.openjsf.org/security-advisories.html"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-23227","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Apr 16, 2026, 1:09:03 PM","dateUpdated":"Apr 16, 2026, 1:48:52 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-23227","identifiers":["EUVD-2026-23227","CVE-2026-6414"]},"retained":false,"historicalAffected":[]},{"revision":"db6bde65425a4eec81db33cc1cd6b507","observedAt":"2026-10-25T15:18:45.851+00:00","statement":{"source":"nvd","id":"CVE-2026-6414","aliases":[],"title":"@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 middlewar…","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.","state":0,"publishedAt":"2026-04-16T13:16:52.243+00:00","modifiedAt":"2026-06-17T11:00:48.07+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · ce714d77-add3-4f53-aff5-83d477b104bb · Secondary","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"severity":"MEDIUM"}],"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"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-6414","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-177"],"productCriteria":["cpe:2.3:a:fastify:fastify-static:*:*:*:*:*:*:*:*"],"sourceDates":{"published":"2026-04-16T13:16:52.243","lastModified":"2026-06-17T11:00:48.070"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-6414","identifiers":["CVE-2026-6414"]},"retained":false,"historicalAffected":[]},{"revision":"728efc67406c45029eb0320c5c46e29e","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-x428-ghpx-8j92","aliases":["CVE-2026-6414"],"title":"@fastify/static vulnerable to route guard bypass via encoded path separators","description":"### Impact\n\n`@fastify/static` v9.1.0 and earlier decodes percent-encoded path separators (`%2F`) before filesystem resolution, but Fastify's router treats them as literal characters. This creates a routing mismatch: route guards on `/admin/*` do not match `/admin%2Fsecret.html`, but @fastify/static decodes it to `/admin/secret.html` and serves the file.\n\nApplications that rely on route-based middleware or guards to protect files served by @fastify/static can be bypassed with encoded path separators.\n\n### Patches\n\nUpgrade to `@fastify/static` >= 9.1.1.\n\n### Workarounds\n\nNone. Upgrade to the patched version.","state":0,"publishedAt":"2026-04-16T22:34:03+00:00","modifiedAt":"2026-07-08T08:14:42.0254702+00:00","affected":[{"ecosystem":"npm","name":"@fastify/static","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"8.0.0"},{"kind":"fixed","version":"9.1.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["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","https://nvd.nist.gov/vuln/detail/CVE-2026-6414","https://cna.openjsf.org/security-advisories.html","https://github.com/fastify/fastify-static"],"sourceUrl":"https://github.com/advisories/GHSA-x428-ghpx-8j92","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-x428-ghpx-8j92","identifiers":["GHSA-x428-ghpx-8j92","CVE-2026-6414"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-25T10:47:30.2236653+00:00","complete":true,"records":1795,"lastAttemptAt":"2026-11-25T10:47:30.2236653+00:00","lastSuccessAt":"2026-11-25T10:47:30.4731581+00:00","error":null,"lastVerifiedAt":"2026-11-25T10:47:30.4731593+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-8d356adab43082cb10bb7c033ed58312cf2ad2f0fb10e0afdf27fc89fa361f3b-eb33a37fae804496f103cb3c711c068eaf73ae5b7f2fc145db563dd9569d6d54","complete":true,"records":432073,"lastAttemptAt":"2026-11-25T10:44:59.7922852+00:00","lastSuccessAt":"2026-11-25T10:44:59.623386+00:00","error":null,"lastVerifiedAt":"2026-11-25T10:44:59.7922852+00:00","snapshotPublishedAt":"2026-11-25T10:30:26+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-64340dec61194e008a5f85a646ed6b46","complete":false,"records":13938,"lastAttemptAt":"2026-11-25T10:56:47.6350503+00:00","lastSuccessAt":"2026-11-25T10:56:47.63+00:00","error":"137 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-25T10:56:47.63+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13830,"expectedIdentifiers":13986,"failedIdentifiers":137},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-25T10:47:30.2236653+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-25T10:47:30.2236653+00:00","lastSuccessAt":"2026-11-25T10:47:30.4912384+00:00","error":null,"lastVerifiedAt":"2026-11-25T10:47:30.4912398+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-23f474d106184d03ba6ae4f1b9844075","complete":true,"records":13950,"lastAttemptAt":"2026-11-25T10:47:32.1172209+00:00","lastSuccessAt":"2026-11-25T10:47:32.113+00:00","error":null,"lastVerifiedAt":"2026-11-25T10:47:32.113+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13986,"expectedIdentifiers":13986,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-e743412268199d418c20ac5ea5d5eefbef4a1c78fcbacada525fcf2201b41d4a","complete":true,"records":10077,"lastAttemptAt":"2026-11-25T10:47:30.0581538+00:00","lastSuccessAt":"2026-11-24T23:11:09.9983084+00:00","error":null,"lastVerifiedAt":"2026-11-25T10:47:30.0581538+00:00","snapshotPublishedAt":"2026-11-24T22:48:13+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-25T10:45:01.0073572+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-25T10:45:01.0073572+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-40938cbac3e2265a24e0d129a60138a855ec8a44cbd619ad6c0de0b22c0e253f","complete":true,"records":3221,"lastAttemptAt":"2026-11-25T10:47:30.1652942+00:00","lastSuccessAt":"2026-11-24T22:27:06.1844325+00:00","error":null,"lastVerifiedAt":"2026-11-25T10:47:30.1652942+00:00","snapshotPublishedAt":"2026-11-24T22:03:27+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-6e5d85045a345af6d44ad78142d454d21ba8c2b270e694c2418444b295e2f9e6","complete":true,"records":233124,"lastAttemptAt":"2026-11-25T10:47:29.9128061+00:00","lastSuccessAt":"2026-11-25T10:47:28.4616168+00:00","error":null,"lastVerifiedAt":"2026-11-25T10:47:29.9128061+00:00","snapshotPublishedAt":"2026-11-25T10:33:22+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}