CVE-2025-59427 Details
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.
A vulnerability in the Cloudflare Vite plugin allows sensitive files to be accessed through the local development server. This issue affects versions prior to 1.6.0 of the plugin. The vulnerability arises because the default configuration of the plugin exposes all files, including those in the root directory that contain secret information such as .env and .dev.vars files.
Users can update to version 1.6.0 or later of the Cloudflare Vite plugin, which addresses this vulnerability by restricting access to sensitive files.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 19, 2025CISA-ADP
Assessed Sep 19, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/cloudflare/workers-sdk/commit/0e500720bf70016fa4ea21fc8959c4bd764ebc38 | [email protected] | Source CodeVendor |
| https://github.com/cloudflare/workers-sdk/discussions/3455#discussioncomment-6165773 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/cloudflare/workers-sdk/security/advisories/GHSA-4pfg-2mw5-f8jx | [email protected] | AdvisoryExploitRemedyVendor |
| https://hackerone.com/reports/3117837 | [email protected] | ExploitPermission Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| @cloudflare/vite-plugin | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 19, 2025 | New CVE Received | [email protected] |
Volerion