CVE-2025-59427

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

State
Published
Severity
2.9 Low
Published
Sep 19, 2025
Updated
Sep 19, 2025
Reserved
Sep 15, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.02.9 LowCVSS: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:PGitHub_M

Weaknesses

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor

Affected Products

ProductVersions
workers-sdkcloudflare
  • < 1.6.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.