{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-130811","id":"CVE-2026-130811","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","descriptionLong":"@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.","published":"2026-11-19T17:55:20.799Z","updated":"2026-11-19T17:55:20.799Z","reserved":"2026-11-17T16:49:46.788Z","status":"PUBLISHED","rejected":false,"assigner":"openjs","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"openjs"},"metrics":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"openjs"}],"rating":"medium","products":["@fastify/static"],"affectedProducts":[{"vendor":"@fastify/static","product":"@fastify/static","defaultStatus":"unaffected","versions":[{"versionType":"semver","status":"affected","version":"0","lessThan":"10.1.12"},{"versionType":"semver","status":"unaffected","version":"10.1.12"}],"platforms":[]}],"packages":[],"cwes":["CWE-548"],"aliases":[],"references":[{"url":"https://github.com/fastify/fastify-static/security/advisories/GHSA-7533-p376-8gg5","tags":[]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-130811","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-130811","ok":false,"note":"not found"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-130811","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-130811","ok":false,"note":"no score yet"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}