← back
CVE-2025-59427

Cloudflare vite plugin exposes secrets over the built-in dev server

CVSS 2.9 LOWEPSS 0.4%CWE-200
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.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P
Affected products
cloudflare · workers-sdk

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →