CVE-2026-130811

published 19 Nov 2026 · updated 23 Nov 2026

@fastify/static vulnerable to information disclosure of denied dotfiles via directory listing

5.3MediumCVSS 5.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 10.1.12.

@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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
@fastify/static<10.1.1210.1.12

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-130811 severity on Zeptric[![CVE-2026-130811](https://zeptric.io/badge/cve/CVE-2026-130811.svg)](https://zeptric.io/cve/CVE-2026-130811)