p PatchFirst

CVE-2026-118662

CVE-2026-118662 · Vite: `server.fs.deny` bypassed 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 6.4.4 until 6.4.5, the Vite development server can evaluate server.fs.deny before stripping loader query parameters such as ?raw, ?import&raw, or ?import&url&inline. When the development server is exposed to the network and a sensitive file is inside server.fs.allow but matched by server.fs.deny, an unauthenticated attacker can append one of these queries and retrieve the denied file. This issue is fixed in version 6.4.5.

CVSS 6.9 · Medium · EPSS 0.3% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • vite

    Versions
    • >= 6.4.4, < 6.4.5: Affected

    No fix published

  • vite npm

    Versions
    • 6.4.4
    Affected ranges
    • SEMVER: ≥ 6.4.4, < 6.4.5

    Update to 6.4.5

Original sources

Check your server →