Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify server using @fastify/static with listing
-
DeliveryRequest denied dot-directory with trailing slash (/.git/)
-
ExploitListing fallback misreads 403 as index-less directory
-
ExecutionReceive recursive directory listing
-
ImpactEnumerate file and subdirectory names
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V13 - Configuration Directory listing prevention
|
| Exploitation Conditions | Exploitation requires a specific non-default deployment: @fastify/static must have directory listing enabled (list) AND dotfiles configured to 'deny' or 'ignore' AND the served root must contain dot-directories (e.g. .git, backups). Under those conditions the request is remote and unauthenticated (PR:N) and needs no user interaction - an attacker simply requests a denied dot-directory path ending in '/'. Limiting factors that reduce real-world risk: the flaw does nothing if directory listing is disabled, if dotfiles is not set to deny/ignore, or if no dot-directories exist under the served root; impact is also bounded to disclosure of file/subdirectory NAMES only - contents are still refused with 403 - and requests for individual dotfiles were already blocked and are unaffected. |
| Impact | This is a moderate-severity information-disclosure issue, not a top-tier emergency. The provided CVSS:3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N = 5.3) indicates network-reachable, low-complexity, unauthenticated access with only low confidentiality impact and no integrity or availability impact, which is consistent with the description: only file and directory NAMES inside denied dot-directories are disclosed, while file contents remain protected by the 403. No EPSS score, SSVC exploitation/automatable/technical-impact values, KEV entry, or PoC are present in the input, so predicted exploitation probability is unquantified; per the precision rules this is 'no public exploit identified at time of analysis' and there is no evidence of active exploitation. The vuln.today decision label is 'this_month' (not act_now/emergency), aligning with a real-but-non-urgent priority. The key caveat is that exploitation is NOT against default configurations: it requires the operator to have simultaneously enabled directory listing (list) AND dotfiles: 'deny' or 'ignore' AND to be serving a root that contains dot-directories - so raw network/unauthenticated reach overstates real-world exposure for most deployments. Net: patch within the normal maintenance window; it is a genuine but low-impact, config-dependent name-enumeration flaw rather than a high-CVSS/low-real-risk false alarm or a critical RCE. |
| Exploit ScenarioDerived | An operator serves a directory tree with @fastify/static (<= 10.1.11) using list enabled and dotfiles set to 'deny' or 'ignore', trusting that version-control and backup dot-directories are hidden. An unauthenticated attacker requests a denied dot-directory path ending in a slash (e.g. /.git/); @fastify/send returns 403 but the listing fallback misreads it as an index-less directory and serves the listing, letting the attacker recursively enumerate file and subdirectory names such as .git internals, backups, and key filenames. No public exploit is identified at time of analysis, and because AV:N/AC:L applies the request is trivial to craft remotely. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 19, 2026
Directory-listing fallback in @fastify/static through 10.1.11 discloses the contents of dot-directories that the operator explicitly configured to be denied, so an unauthenticated remote client requesting a path such as /.git/ receives an enumerable list of file and subdirectory names instead of a 403. Enumeration is reported to be recursive, exposing names of version-control metadata, backup files and key material, although file contents themselves remain refused with 403. Exploitation requires the non-default combination of directory listing enabled (list) and dotfiles set to 'deny' or 'ignore' while the served root actually contains dot-directories; no public exploit code was identified at time of analysis and the issue is rated moderate (CVSS 5.3, confidentiality-only). Vendor-released patch: @fastify/static 10.1.12.
RemediationAI
Upgrade @fastify/static to 10.1.12 or later, which is the vendor-released patch in which the directory-listing fallback no longer serves a path denied by dotfiles: 'deny' or 'ignore'; the advisory is at https://github.com/fastify/fastify-static/security/advisories/GHSA-7533-p376-8gg5 with the CNA listing at https://cna.openjsf.org/security-advisories.html. If upgrading cannot be done immediately, the vendor-documented workarounds are to disable directory listing (the list option) - at the cost of losing automatic index/listing responses for legitimate directories - or to stop serving a root that contains dot-directories, for example by relocating the static root or placing version-control and backup directories outside it; note that requests for individual dotfiles were already returning 403 and need no additional action.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-548 (Exposure of Information Through Directory Listing) describes the class of weakness here: a directory listing feature exposes file names in a location that access-control policy was meant to hide. @fastify/static is the static file-serving plugin for the Fastify Node.js web framework; it delegates the on-disk send operation to @fastify/send and layers an optional directory-index/listing fallback on top. When the plugin is configured with dotfiles: 'deny' or 'ignore', requests for individual dotfiles are refused by the send layer with a 403 and are unaffected by this bug. The conflict arises for requests to a denied dot-directory path ending in '/': the send step correctly replies 403, but the listing fallback interprets that refusal on a trailing-slash path as 'a directory that exists but has no index file' and generates a directory listing for it, contradicting the documented behaviour that dotfiles are excluded from listings under deny/ignore. The result is name disclosure only - contents still return 403 - and the flaw is absent when list is disabled, when dotfiles is left at its default handling, or when no dot-directories exist beneath the served root.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Remote unauthenticated request triggers it (AV:N/AC:L/PR:N/UI:N); only directory/file names leak (C:L) with no content, integrity, or availability impact; the enabling config is operator-side, not attacker privilege.
Primary rating from Vendor (ce714d77-add3-4f53-aff5-83d477b104bb).
CVSS VectorVendor: ce714d77-add3-4f53-aff5-83d477b104bb
Lifecycle Timeline
1DescriptionCVE.org
@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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-130439
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB