Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-6410

Опубликовано: 16 апр. 2026
Источник: redhat
CVSS3: 5.3

Описание

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

A flaw was found in @fastify/static. When directory listing is enabled, a remote unauthenticated attacker can exploit a path traversal vulnerability. This occurs because the dirList.path() function incorrectly resolves directories outside the configured static root. Successful exploitation allows the attacker to obtain directory listings for arbitrary directories, leading to the disclosure of directory and file names.

Меры по смягчению последствий

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-cuda-rhel9Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-rocm-rhel9Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/disk-image-cuda-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-dashboard-rhel8Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-dashboard-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-mod-arch-gen-ai-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-mod-arch-maas-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-mod-arch-model-registry-rhel9Fix deferred
Red Hat OpenShift Dev Spacesdevspaces/dashboard-rhel9Fix deferred

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-22
https://bugzilla.redhat.com/show_bug.cgi?id=2458941@fastify/static: @fastify/static: Information disclosure via path traversal when directory listing is enabled.

5.3 Medium

CVSS3

Связанные уязвимости

CVSS3: 5.3
nvd
4 месяца назад

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

CVSS3: 5.3
github
4 месяца назад

@fastify/static vulnerable to path traversal in directory listing

5.3 Medium

CVSS3

Уязвимость CVE-2026-6410