StraitOfVuln
Latest / CVE-2026-130811

CVE-2026-130811

MediumCVSS 5.3 (v3.1)Awaiting Analysis
CVE.org ↗NVD ↗

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.

Details

CVE ID
CVE-2026-130811
Published / updated
19 Nov 2026, 18:18 UTC · last modified 23 Nov 2026, 16:17 UTC
Severity
MEDIUM
CVSS score
5.3 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N · Attack vector: Network
Affected vendor
@fastify/static
Affected products
@fastify/static
Affected versions
@fastify/static: before 10.1.12
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
@fastify/static 10.1.12
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.27% probability of exploitation in the next 30 days · 21% percentile (03 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
ce714d77-add3-4f53-aff5-83d477b104bb