{"id":"GHSA-8pvw-jcv7-9cmj","revision":null,"records":[{"revision":"cba56f3fe3e24a45a584cbe726d5b42b","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-7120","aliases":[],"title":"@fastify/static vulnerable to Authorization Bypass via Non-Canonical URL Paths","description":"@fastify/static evaluates the allowedPath callback before normalizing dot segments and duplicate path separators in the pathname used for file resolution. Versions up to and including 10.1.1 are affected. An unauthenticated attacker can bypass allowedPath restrictions by requesting equivalent non-canonical pathnames, causing files that were intended to be denied to be served anyway. The bypass does not allow access outside the configured static root by itself, it defeats path-based filtering only. The issue is patched in @fastify/static 10.1.2.","state":0,"publishedAt":"2026-07-23T02:48:35.12+00:00","modifiedAt":"2026-07-23T14:15:22.625+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\": \"0\",\n                            \"lessThan\": \"10.1.2\"\n                        },\n                        {\n                            \"versionType\": \"semver\",\n                            \"status\": \"unaffected\",\n                            \"version\": \"10.1.2\"\n                        }\n                    ],\n                    \"packageURL\": \"pkg:npm/@fastify/static\"\n                }"}],"metrics":[{"system":"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,"severity":"MEDIUM"}],"references":["https://github.com/fastify/fastify-static/security/advisories/GHSA-8pvw-jcv7-9cmj","https://cna.openjsf.org/security-advisories.html"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-7120","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-7120","identifiers":["CVE-2026-7120"]},"retained":false,"historicalAffected":[]},{"revision":"5d75b8c7b938446e96b92d4deef93c57","observedAt":"2026-11-21T19:18:51.622+00:00","statement":{"source":"euvd","id":"EUVD-2026-47870","aliases":["CVE-2026-7120","GHSA-8pvw-jcv7-9cmj"],"title":"@fastify/static evaluates the allowedPath callback before normalizing dot segments and duplicate path separators in the pathname used for file resolution. Versions up to and including 10.1.1 are affected. An unauthenticated attacker can byp…","description":"@fastify/static evaluates the allowedPath callback before normalizing dot segments and duplicate path separators in the pathname used for file resolution. Versions up to and including 10.1.1 are affected. An unauthenticated attacker can bypass allowedPath restrictions by requesting equivalent non-canonical pathnames, causing files that were intended to be denied to be served anyway. The bypass does not allow access outside the configured static root by itself, it defeats path-based filtering only. The issue is patched in @fastify/static 10.1.2.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD 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,"severity":null}],"references":["https://github.com/fastify/fastify-static/security/advisories/GHSA-8pvw-jcv7-9cmj","https://cna.openjsf.org/security-advisories.html"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-47870","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jul 23, 2026, 2:48:35 AM","dateUpdated":"Jul 23, 2026, 2:15:22 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-47870","identifiers":["EUVD-2026-47870","CVE-2026-7120","GHSA-8pvw-jcv7-9cmj"]},"retained":false,"historicalAffected":[]},{"revision":"f6a39f3e8d3d4d238b3779cbaefb0876","observedAt":"2026-10-25T15:18:57.446+00:00","statement":{"source":"nvd","id":"CVE-2026-7120","aliases":[],"title":"@fastify/static evaluates the allowedPath callback before normalizing dot segments and duplicate path separators in the pathname used for file resolution. Versions up to and including 10.1.1 are affected. An unauthenticated attacker can byp…","description":"@fastify/static evaluates the allowedPath callback before normalizing dot segments and duplicate path separators in the pathname used for file resolution. Versions up to and including 10.1.1 are affected. An unauthenticated attacker can bypass allowedPath restrictions by requesting equivalent non-canonical pathnames, causing files that were intended to be denied to be served anyway. The bypass does not allow access outside the configured static root by itself, it defeats path-based filtering only. The issue is patched in @fastify/static 10.1.2.","state":0,"publishedAt":"2026-07-23T04:16:33.187+00:00","modifiedAt":"2026-07-28T17:05:24.913+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · ce714d77-add3-4f53-aff5-83d477b104bb · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"severity":"MEDIUM"}],"references":["https://cna.openjsf.org/security-advisories.html","https://github.com/fastify/fastify-static/security/advisories/GHSA-8pvw-jcv7-9cmj"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-7120","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-180"],"productCriteria":["cpe:2.3:a:fastify:fastify-static:*:*:*:*:*:*:*:*"],"sourceDates":{"published":"2026-07-23T04:16:33.187","lastModified":"2026-07-28T17:05:24.913"},"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-7120","identifiers":["CVE-2026-7120"]},"retained":false,"historicalAffected":[]},{"revision":"541a53301e76443792229f9b905867a9","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-8pvw-jcv7-9cmj","aliases":["CVE-2026-7120"],"title":"@fastify/static vulnerable to Authorization Bypass via Non-Canonical URL Paths","description":"### Impact\n\n`@fastify/static` evaluates the `allowedPath` callback before normalizing dot segments and duplicate slashes in the pathname used for file resolution. Non-canonical pathnames such as `//file`, `/./file`, or `/public/../private/file` bypass `allowedPath` filtering while resolving to the intended file on disk.\n\nApplications that use `allowedPath` as a security boundary to restrict access to specific static files or path subtrees may unintentionally expose files that were intended to be denied.\n\n### Patches\n\nUpgrade to `@fastify/static` >= 10.1.2.\n\n### Workarounds\n\nNone. Upgrade to the patched version.","state":0,"publishedAt":"2026-07-24T16:43:44+00:00","modifiedAt":"2026-07-24T17:11:53.177602+00:00","affected":[{"ecosystem":"npm","name":"@fastify/static","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"10.1.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/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-8pvw-jcv7-9cmj","https://nvd.nist.gov/vuln/detail/CVE-2026-7120","https://github.com/fastify/fastify-static/commit/878c72e920fabacf7e37739bf78057044717bf63","https://cna.openjsf.org/security-advisories.html","https://github.com/fastify/fastify-static","https://github.com/fastify/fastify-static/releases/tag/v10.1.2"],"sourceUrl":"https://github.com/advisories/GHSA-8pvw-jcv7-9cmj","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-8pvw-jcv7-9cmj","identifiers":["GHSA-8pvw-jcv7-9cmj","CVE-2026-7120"]},"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-23T18:27:17.7572288+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-23T18:27:17.7572288+00:00","lastSuccessAt":"2026-11-23T18:27:17.9758173+00:00","error":null,"lastVerifiedAt":"2026-11-23T18:27:17.9758175+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-d008fb8e7e5a0f37166ee57a6d9d22b27e49b9d9438b4ce80c4c6c326ac5d75a-1d24b1a69e2183157b839326f98b3e034f8a4de83f8cec6f5f44595d98df2adf","complete":true,"records":430815,"lastAttemptAt":"2026-11-23T18:25:28.0856631+00:00","lastSuccessAt":"2026-11-23T17:25:41.1725427+00:00","error":null,"lastVerifiedAt":"2026-11-23T18:25:28.0856631+00:00","snapshotPublishedAt":"2026-11-23T17:23:57+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-e327048394824bd39bedd375b7b42309","complete":false,"records":13930,"lastAttemptAt":"2026-11-23T18:36:55.0271309+00:00","lastSuccessAt":"2026-11-23T18:36:55.022+00:00","error":"324 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-23T18:36:55.022+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13643,"expectedIdentifiers":13978,"failedIdentifiers":324},{"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-23T18:27:17.7572288+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-23T18:27:17.7572288+00:00","lastSuccessAt":"2026-11-23T18:27:17.9765602+00:00","error":null,"lastVerifiedAt":"2026-11-23T18:27:17.9765603+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-a3830779e2b24402abae3167f2abe4f1","complete":true,"records":13942,"lastAttemptAt":"2026-11-23T18:27:19.0376964+00:00","lastSuccessAt":"2026-11-23T18:27:19.034+00:00","error":null,"lastVerifiedAt":"2026-11-23T18:27:19.034+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13978,"expectedIdentifiers":13978,"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-a9c862bcf8bde52ce182f69609f4579ca2fc6956e44f694dddf6a66800619683","complete":true,"records":9989,"lastAttemptAt":"2026-11-23T18:27:17.6896495+00:00","lastSuccessAt":"2026-11-22T16:25:54.6432964+00:00","error":null,"lastVerifiedAt":"2026-11-23T18:27:17.6896495+00:00","snapshotPublishedAt":"2026-11-22T16:18:32+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-23T18:25:28.2387412+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-23T18:25:28.2387412+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-15e801f03affdaac7ba10268556f4d0b3e1b9f897dae85fdcade5fc30d25011c","complete":true,"records":3217,"lastAttemptAt":"2026-11-23T18:27:17.7092886+00:00","lastSuccessAt":"2026-11-23T17:27:41.2539213+00:00","error":null,"lastVerifiedAt":"2026-11-23T18:27:17.7092886+00:00","snapshotPublishedAt":"2026-11-23T16:18:20+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-2cf94ecce5da48b038cf40cecf367746ff39bd7656a9415282993937f6e7b06d","complete":true,"records":232902,"lastAttemptAt":"2026-11-23T18:27:17.5500547+00:00","lastSuccessAt":"2026-11-23T18:27:16.4553485+00:00","error":null,"lastVerifiedAt":"2026-11-23T18:27:17.5500547+00:00","snapshotPublishedAt":"2026-11-23T18:03:31+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}