Skip to content

CVE-2026-6410 @fastify/static vulnerable to path traversal in directory listing

MediumCVSS 5.3 EPSS 0.53%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
Red Hat

Description

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

Upgrade path

12 packages: 3 fixed, 9 with no fix yet.

PackageAffectedFixed inStatus
redhat/devspaces/dashboard-rhel9(Red Hat openshift_devspaces 3) All versions No fix listed No fix yet
redhat/rhelai3/bootc-cuda-rhel9(Red Hat enterprise_linux_ai 3) All versions No fix listed No fix yet
redhat/rhelai3/bootc-rocm-rhel9(Red Hat enterprise_linux_ai 3) All versions No fix listed No fix yet
redhat/rhelai3/disk-image-cuda-rhel9(Red Hat enterprise_linux_ai 3) All versions No fix listed No fix yet
redhat/rhoai/odh-dashboard-rhel8(Red Hat openshift_ai) All versions No fix listed No fix yet
redhat/rhoai/odh-dashboard-rhel9(Red Hat openshift_ai) All versions No fix listed No fix yet
redhat/rhoai/odh-mod-arch-gen-ai-rhel9(Red Hat openshift_ai) All versions No fix listed No fix yet
redhat/rhoai/odh-mod-arch-maas-rhel9(Red Hat openshift_ai) All versions No fix listed No fix yet
redhat/rhoai/odh-mod-arch-model-registry-rhel9(Red Hat openshift_ai) All versions No fix listed No fix yet
@fastify/static >= 8.0.0, < 9.1.1 9.1.1 Fixed
fastify @fastify/static(npm) >= 8.0.0, < 9.1.1; >= 8.0.0, <= 9.1.0 9.1.1 Fixed
fastify-static >= 8.0.0, < 9.1.1 9.1.1 Fixed

Affected products

ProductAffected versionsFixed in
@fastify/static >= 8.0.0, < 9.1.1 9.1.1
fastify @fastify/static(npm) >= 8.0.0, <= 9.1.0 No fix listed
redhat/rhelai3/bootc-cuda-rhel9(Red Hat:enterprise_linux_ai:3) All versions No fix listed
redhat/rhelai3/bootc-rocm-rhel9(Red Hat:enterprise_linux_ai:3) All versions No fix listed
redhat/rhelai3/disk-image-cuda-rhel9(Red Hat:enterprise_linux_ai:3) All versions No fix listed
redhat/rhoai/odh-dashboard-rhel8(Red Hat:openshift_ai) All versions No fix listed
redhat/rhoai/odh-dashboard-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/rhoai/odh-mod-arch-gen-ai-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/rhoai/odh-mod-arch-maas-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/rhoai/odh-mod-arch-model-registry-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/devspaces/dashboard-rhel9(Red Hat:openshift_devspaces:3) All versions No fix listed
fastify-static >= 8.0.0, < 9.1.1 9.1.1
fastify @fastify/static(npm) >= 8.0.0, < 9.1.1 9.1.1

References