CVE-2025-59427
September 19, 2025
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.
Affected Packages
https://github.com/cloudflare/workers-sdk.git (GITHUB):
Affected version(s) >=@cloudflare/vite-plugin@0.0.1 <@cloudflare/vite-plugin@1.6.0Fix Suggestion:
Update to version @cloudflare/vite-plugin@1.6.0@cloudflare/vite-plugin (NPM):
Affected version(s) >=0.0.0-a2f695b96 <1.6.0Fix Suggestion:
Update to version 1.6.0Related ResourcesĀ (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
2.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
Exploit Maturity
POC
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Exposure of Sensitive Information to an Unauthorized Actor
EPSS
Base Score:
0.06