p PatchFirst

CVE-2026-39364

CVE-2026-39364 · Vite has a `server.fs.deny` bypass with queries

This page contains facts from public vulnerability sources. Check the original advisory before updating.

Vite is a frontend tooling framework for JavaScript. From 7.1.0 to before 7.3.2 and 8.0.5, on the Vite dev server, files that should be blocked by server.fs.deny (e.g., .env, *.crt) can be retrieved with HTTP 200 responses when query parameters such as ?raw, ?import&raw, or ?import&url&inline are appended. This vulnerability is fixed in 7.3.2 and 8.0.5.

CVSS 8.2 · High · EPSS 1.5% · Public exploit · Fix available

Published
Updated

Stack: node

Affected products and versions

  • vite

    Versions
    • >= 8.0.0, < 8.0.5: Affected
    • >= 7.1.0, < 7.3.2: Affected

    No fix published

  • vite-plus

    Versions
    • < 0.1.16: Affected

    No fix published

  • vite npm

    Affected ranges
    • SEMVER: ≥ 8.0.0, < 8.0.5

    Update to 8.0.5

  • vite npm

    Affected ranges
    • SEMVER: ≥ 7.1.0, < 7.3.2

    Update to 7.3.2

Original sources

Check your server →