CVE-2025-59427: Cloudflare vite plugin exposes secrets over the built-in dev server

Published Sep 19, 2025
·
Updated

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 Software

1 affected component
Cloudflare Vite plugin<1.6.0

Event History

Sep 19, 2025
CVE Published
via MITRE·03:30 PM
Data Sourced
via MITRE·03:30 PM
DescriptionWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-59427?

CVE-2025-59427 has a severity rating of high due to the exposure of sensitive files.

2

How do I fix CVE-2025-59427?

To fix CVE-2025-59427, ensure that the Cloudflare Vite plugin is configured to restrict access to sensitive files.

3

Which versions of Cloudflare Vite plugin are affected by CVE-2025-59427?

CVE-2025-59427 affects all versions of the Cloudflare Vite plugin up to and including version 1.6.0.

4

What happens if CVE-2025-59427 is not addressed?

If CVE-2025-59427 is not addressed, sensitive information in the root directory may be accessible to unauthorized users.

5

Where can I find more information about CVE-2025-59427?

More information about CVE-2025-59427 can typically be found in security advisories and vulnerability databases.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203