CVE-2026-130811
published medium CVSS 3.1 · 5.3@fastify/static vulnerable to information disclosure of denied dotfiles via directory listing
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| @fastify/static | — | @fastify/static0 to < 10.1.12 (affected · semver) · 10.1.12 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | openjs |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- openjs · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| @fastify/static | @fastify/static | 0 to < 10.1.12 (affected · semver)10.1.12 (unaffected · semver)Default: unaffected | openjs · cna |
Weaknesses
1- CWE-548 CWE-548: Exposure of Information Through Directory Listing
References
2Provider assertions
2openjs · cna
@fastify/static vulnerable to information disclosure of denied dotfiles via directory listing
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ad0fb82828a5c22042e76d0d2dce5d5084bca561626411cec65f7e3e29fde047
- Ingested
- 19 Nov 2026, 20:57:08 UTC
- Source record
- Official CVE record