Low severity · published Sep 19, 2025
CVE-2025-59427
Cloudflare vite plugin exposes secrets over the built-in dev server
2.9
CVSS
0.4%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 32% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
WO
workers-sdk · cloudflare
< 1.6.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-59427
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-59427
github.com
https://github.com/cloudflare/workers-sdk/commit/0e500720bf70016fa4ea21fc8959c4bd764ebc38
github.com
https://github.com/cloudflare/workers-sdk/discussions/3455#discussioncomment-6165773
github.com
https://github.com/cloudflare/workers-sdk/security/advisories/GHSA-4pfg-2mw5-f8jx
hackerone.com
https://hackerone.com/reports/3117837
