Skip to content
Fencer Intel
medium 5.3

CVE-2026-130811 json

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

published 15h ago modified 8h ago also EUVD-2026-130439 , GHSA-7533-p376-8gg5

Unreviewed: the maintainers' own advisory

Published by the maintainers on their GitHub repository fastify/fastify-static. GitHub has not reviewed it into the GitHub Advisory Database, so the affected packages and versions are the maintainers' word. Read the full advisory on GitHub.

cvss
5.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
—
no EPSS score yet
public exploits
0
none known

Summary

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

Patch / fix

  • npm @fastify/static 10.1.12
  • @fastify/static @fastify/static 10.1.12

Is CVE-2026-130811 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
8h ago

CVSS scores

assigned by version score vector
CNA 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected packages

ecosystem package affected fixed in
npm @fastify/static
<10.1.12
10.1.12

Affected products

  • @fastify/static @fastify/static

Classification

Weakness
  • CWE-548 Exposure of Information Through Directory Listing

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

The maintainers of fastify/fastify-static published their own advisory on GitHub. Reviewed sources take precedence over it.