CVE-2026-130811: @fastify/static - Information Disclosure
- Cve: CVE-2026-130811
- Name: @fastify/static - Information Disclosure
- 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.
- Impact: Unauthenticated attackers can enumerate names of files and subdirectories inside denied dot-directories, potentially exposing sensitive naming information.
- Remediation: Upgrade to @fastify/static 10.1.12 or later. As a workaround, disable directory listing or avoid serving roots containing dot-directories.
- Vulnerability type: misconfiguration
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: securitycontext
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Epss score: 0.00275
- Epss percentile: 0.20028
- Assignee: ce714d77-add3-4f53-aff5-83d477b104bb
- Published at: 2026-11-19T18:18:10Z
- Age in days: 5
- Modified at: 2026-11-23T16:17:32Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-130811
- Nvd status: awaiting_analysis
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-548 | Exposure of Information Through Directory Listing |
References
| Url | Source | Tags |
|---|---|---|
| https://cna.openjsf.org/security-advisories.html | nvd | |
| https://github.com/fastify/fastify-static/security/advisories/GHSA-7533-p376-8gg5 | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| fastify:fastify-static | < 10.1.12 | no | cna_alias | /v1/products/fastify/fastify-static |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| fastify/fastify-static | security_advisory | yes | /v1/repositories/fastify/fastify-static |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts