CVE-2025-59427

Cloudflare vite plugin exposes secrets over the built-in dev server

Published Sep 19, 2025 CVSS 4.0 · 2.9 Low EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

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
History
Type Values Removed Values Added
First Time appeared Cloudflare
Cloudflare vite
Cloudflare workerd
Vendors & Products Cloudflare
Cloudflare vite
Cloudflare workerd
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 19, 2025, 4:05 PM
Reserved
Sep 15, 2025, 7:13 PM
Status
Deferred
Published
Sep 19, 2025, 4:15 PM
Modified
Jun 17, 2026, 9:46 AM