mediumCVSS 5.3Vulnerability
CVE-2026-6410
### Impact `@fastify/static` v9.1.0 and earlier serves directory listings outside the configured static root when the `list` option is enabled. A request such as `/public/../outside/` causes `dirList.path()` to resolve a directory outside the root via `path.join()` without a containment check. A remote unauthenticated attacker can obtain directory listings for arbitrary directories accessible to the Node.js process, disclosing directory names and filenames that should not be exposed. File contents are not disclosed. ### Patches Upgrade to `@fastify/static` >= 9.1.1. ### Workarounds Disable directory listing by removing the `list` option from the plugin configuration.
Properties
- severity
- medium
- summary
- @fastify/static vulnerable to path traversal in directory listing
- epss_score
- 0.00506
- cvss_score
- 5.3
- ghsa_published
- 2026-04-16T22:34:30Z
- source_url
- https://github.com/advisories/GHSA-pr96-94w5-mx2h
- ghsa_updated
- 2026-04-16T22:34:31Z
- ghsa_id
- GHSA-pr96-94w5-mx2h
- cve_id
- CVE-2026-6410
- cvss_vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- is_ghsa_only
- false
- epss_percentile
- 0.41169
Related Entities (5)
ENRICHED_BY (1)
→[Source]FIRST EPSS
REPORTED_BY (1)
→[Source]GitHub Advisory Database
VULNERABLE_TO (1)
←[Software]npm/@fastify/static
AFFECTS (1)
→[Software]npm/@fastify/static
HAS_WEAKNESS (1)
→[Weakness]Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Explore deeper with Ninja Signal's threat intelligence graph