p PatchFirst

CVE-2026-53571

CVE-2026-53571 · Vite: `server.fs.deny` bypass on Windows alternate paths

Здесь приведены факты из открытых источников об уязвимостях. Перед обновлением ознакомьтесь с исходным сообщением.

Vite is a frontend tooling framework for JavaScript. Prior to 8.0.16, 7.3.5, and 6.4.3, the contents of files that are specified by server.fs.deny can be returned to the browser on Windows. Vite’s dev server denies direct access to sensitive files through server.fs.deny, including entries such as .env, .env.*, and *.{crt,pem}. However, on Windows, the deny logic does not correctly normalize NTFS ADS path forms before access checks are applied. Because of this, requests such as /.env::$DATA?raw are treated as allowed paths, while Windows resolves them to the original file's default data stream. Similar to that, Windows allows accessing a file using a different name with the 8.3 short name compatibility feature. Vite did not reject accessing files via them. This vulnerability is fixed in 8.0.16, 7.3.5, and 6.4.3.

CVSS 8.2 · Высокий · EPSS 0,6% · Есть исправление

Опубликовано
Обновлено

Стек: node

Затронутые продукты и версии

  • vite

    Версии
    • >= 8.0.0, < 8.0.16: Затронуто
    • >= 7.0.0, < 7.3.5: Затронуто
    • < 6.4.3: Затронуто

    Нет опубликованного исправления

  • vite npm

    Затронутые диапазоны версий
    • SEMVER: ≥ 8.0.0, < 8.0.16

    Обновитесь до 8.0.16

  • vite npm

    Затронутые диапазоны версий
    • SEMVER: ≥ 7.0.0, < 7.3.5

    Обновитесь до 7.3.5

  • vite npm

    Затронутые диапазоны версий
    • SEMVER: < 6.4.3

    Обновитесь до 6.4.3

  • vite-plus npm

    Затронутые диапазоны версий
    • SEMVER: < 0.1.24

    Обновитесь до 0.1.24

Первоисточники

Проверьте свой сервер →