{"id":"CVE-2026-130811","aliases":["CVE-2026-130811"],"related":[],"kind":"vulnerability","state":"published","title":"@fastify/static vulnerable to information disclosure of denied dotfiles via directory listing","summary":"@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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"@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.","source":"cvelist"}],"published":"2026-11-19T17:55:20.799Z","modified":"2026-11-23T16:17:32.597Z","severity":{"scorer":"openjs","scheme":"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,"rating":"MEDIUM"},"severities":[{"scorer":"openjs","scheme":"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,"rating":"MEDIUM"}],"cwes":["CWE-548"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"10.1.12","status":"affected"},{"type":"semver","version":"10.1.12","status":"unaffected"}],"vendor":"@fastify/static","product":"@fastify/static","source":"cvelist"}],"references":[{"url":"https://github.com/fastify/fastify-static/security/advisories/GHSA-7533-p376-8gg5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":[],"sources":["cvelist","nvd"]}],"credits":["rootsys-research","mcollina","UlisesGascon"],"assigner":"openjs","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-11-19T20:54:45.568Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-130811","url":"https://www.cve.org/CVERecord?id=CVE-2026-130811","licence":"CVE Terms of Use","modified":"2026-11-19T20:54:58.920Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-130811","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-130811","licence":"Public domain","modified":"2026-11-23T16:17:32.597Z"}],"updatedAt":"2026-11-25T22:59:52.168Z","epss":{"score":0.00275,"percentile":0.21375,"date":"2026-12-01T12:00:22.000Z"}}