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.
Advisories
Source ID Title
EUVD EUVD EUVD-2025-29441 Cloudflare Vite plugin exposes secrets over the built-in dev server
Github GHSA Github GHSA GHSA-4pfg-2mw5-f8jx Cloudflare Vite plugin exposes secrets over the built-in dev server
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 22 Sep 2025 10:15:00 +0000

Type Values Removed Values Added
First Time appeared Cloudflare
Cloudflare vite
Cloudflare workerd
Vendors & Products Cloudflare
Cloudflare vite
Cloudflare workerd

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 : Awaiting Analysis

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

Modified: 2025-09-22T21:23:01.543

Link: CVE-2025-59427

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2025-09-22T09:59:15Z