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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 19 Sep 2025 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 19 Sep 2025 15:45:00 +0000

Type Values Removed Values Added
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.
Title Cloudflare vite plugin exposes secrets over the built-in dev server
Weaknesses CWE-200
References
Metrics cvssV4_0

{'score': 2.9, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-09-19T16:05:12.864Z

Reserved: 2025-09-15T19:13:16.905Z

Link: CVE-2025-59427

cve-icon Vulnrichment

Updated: 2025-09-19T16:04:02.820Z

cve-icon NVD

Status : Received

Published: 2025-09-19T16:15:46.563

Modified: 2025-09-19T16:15:46.563

Link: CVE-2025-59427

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.