CVE-2025-59427

Low

Description

The Cloudflare Vite plugin enables a full-featured integration between Vite and the Workers runtime. When utilising the Cloudflare Vite plugin in its default configuration, all files are exposed by the local dev server, including files in the root directory that contain secret information such as .env and .dev.vars. This vulnerability is fixed in 1.6.0.

SeverityLow
CVSS2.9
Exploit probability—
Product@cloudflare/vite-plugin
PublishedSep 19, 2025
First seenSep 19, 2025

How to fix

Update
  • @cloudflare/vite-plugin1.6.0 or later

Affected products

ProductAffected versionsFixed in
@cloudflare/vite-pluginnpmv < 1.6.01.6.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.