CVE-2026-6410

Source
https://cve.org/CVERecord?id=CVE-2026-6410
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-6410.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-6410
Aliases
Published
2026-04-16T13:29:08.120Z
Modified
2026-07-08T08:11:37.192825630Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
@fastify/static vulnerable to path traversal in directory listing
Details

@fastify/static versions 8.0.0 through 9.1.0 allow path traversal when directory listing is enabled via the list option. The dirList.path() function resolves directories outside the configured static root using 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 and file names. File contents are not disclosed. Upgrade to @fastify/static 9.1.1 to fix this issue. As a workaround, disable directory listing by removing the list option from the plugin configuration.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6410.json",
    "cna_assigner": "openjs",
    "cwe_ids": [
        "CWE-22"
    ]
}
References

Affected packages

Git / github.com/fastify/fastify-static

Affected ranges

Type
GIT
Repo
https://github.com/fastify/fastify-static
Events
Database specific
{
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ],
    "cpe": "cpe:2.3:a:fastify:fastify-static:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "8.0.0"
        },
        {
            "fixed": "9.1.1"
        }
    ]
}

Affected versions

v8.*
v8.0.0
v8.0.1
v8.0.2
v8.0.3
v8.0.4
v8.1.0
v8.1.1
v8.2.0
v8.3.0
v9.*
v9.0.0
v9.1.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-6410.json"