{"id":"CVE-2026-130811","aliases":["GHSA-7533-p376-8gg5"],"title":"@fastify/static vulnerable to information disclosure of denied dotfiles via directory listing","originalDescription":"@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.","severity":{"cvss":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","label":"medium"},"exploitation":{"kev":null,"epss":{"score":0.00275,"percentile":0.21382},"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"@fastify/static","range":">=0, <10.1.12","fixed":"10.1.12"}],"references":[{"url":"https://github.com/fastify/fastify-static/security/advisories/GHSA-7533-p376-8gg5","type":"other"},{"url":"https://cna.openjsf.org/security-advisories.html","type":"other"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130811.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-130811","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-23T16:29:19.750Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-130811","license":"NVD terms of use","firstSeenAt":"2026-11-19T18:29:03.167Z"},{"name":"osv","at":"2026-11-22T06:22:36.741Z","url":"https://osv.dev/vulnerability/CVE-2026-130811","license":"CC-BY 4.0","firstSeenAt":"2026-11-22T05:16:42.479Z"},{"name":"cvelistV5","at":"2026-11-19T22:17:44.199Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-130811","license":"CVE Terms of Use","firstSeenAt":"2026-11-19T18:26:37.660Z"}],"firstSeenAt":"2026-11-19T18:26:37.660Z","publishedAt":"2026-11-19T17:55:20.799Z","modifiedAt":"2026-11-23T16:17:32.597Z"}