Exposure of Dot-Directory Names in Fastify Static Plugin
CVE-2026-130811

5.3MEDIUM

Key Information:

Vendor
CVE Published:
19 November 2026

What is CVE-2026-130811?

The @fastify/static plugin, responsible for serving static files in Fastify applications, was susceptible to a directory listing exposure when configured to deny dotfiles while allowing directory listing. In versions up to 10.1.11, an unauthenticated attacker could access directory listings of denied dot-directories, revealing file and subdirectory names. This occurs due to a flaw in the response handling where a request for a denied directory incorrectly serves its contents instead of denying access. The issue was rectified in version 10.1.12, and it is advisable for users to upgrade to this version or later. As an immediate mitigation, users could disable directory listings or avoid serving directories that contain dot-files.

Affected Version(s)

@fastify/static 0 < 10.1.12

@fastify/static 10.1.12

References

CVSS V3.1

Score:
5.3
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
None
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

rootsys-research
mcollina
UlisesGascon
.