{"schemaVersion":4,"id":"CVE-2026-130811","aliases":[],"status":"published","duplicateOf":null,"title":"@fastify/static vulnerable to information disclosure of denied dotfiles via directory listing","description":"@fastify/static is the Fastify plugin for serving static files. In versions up to and including 10.1.11, when it is configured to deny or ignore dotfiles together with directory listing enabled, a request for a denied dot-directory returns its directory listing instead of being refused. The underlying send step answers with a forbidden response, but the listing fallback misreads that response on a path ending in a slash as a directory without an index file and serves the listing anyway. An unauthenticated client can enumerate the names of files and subdirectories, recursively, inside dot-directories the operator explicitly denied, such as version control, backup, and key file names. File contents remain protected and only names are disclosed. The issue is fixed in @fastify/static 10.1.12, and users should upgrade to 10.1.12 or later. As a workaround, disable directory listing or do not serve a root that contains dot-directories.","dates":{"published":"2026-11-19T17:55:20.799Z","modified":"2026-11-19T20:54:58.920Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00275,"percentile":0.21323,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-20T00:00:00.000Z","score":0.00275,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00275,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00275,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00275,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00275,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00343,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00343,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00343,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00343,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00343,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00343,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00275,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00275,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00275,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00275,"percentile":0.21323}],"last30":[{"date":"2026-11-20T00:00:00.000Z","score":0.00275,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00275,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00275,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00275,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00275,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00343,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00343,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00343,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00343,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00343,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00343,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00275,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00275,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00275,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00275,"percentile":0.21323}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-548","name":"Exposure of Information Through Directory Listing","description":"The product inappropriately exposes a directory listing with an index of all the resources located inside of the directory.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/548.html"}],"affected":[{"vendor":"@fastify/static","product":"@fastify/static","name":"@fastify/static","label":"@fastify/static","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 10.1.12","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"10.1.12","endInclusive":false}}],"versionsText":"< 10.1.12","eol":null,"hubHref":"/vendor/fastifystatic/fastifystatic"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/fastify/fastify-static/security/advisories/GHSA-7533-p376-8gg5","label":"github.com/fastify/fastify-static/security/advisories/GHSA-7533-p376-8gg5","hostname":"github.com","tags":[]},{"url":"https://cna.openjsf.org/security-advisories.html","label":"cna.openjsf.org/security-advisories.html","hostname":"cna.openjsf.org","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-19T17:55:20.799Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-19T20:54:58.920Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,53],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00275,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-19T20:54:58.920Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-11-19T20:54:58.920Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-19T20:54:45.568Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00275,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T09:01:26.874Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T09:01:27.430Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T09:01:27.610Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T09:01:02.756Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T09:01:25.188Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T09:01:24.136Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T09:32:06.402Z","stale":false,"partial":false}}