CVE-2025-59427: Cloudflare vite plugin exposes secrets over the built-in dev server
Low · CVSS 2.9 (CVSS 4.0)EPSS 0.38%, 32th percentilePublished Updated Assigner: GitHub_M
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.
CWE-200
Tracked companies
Mapped from the CVE’s affected-product data, NVD CPE matches, vendor advisories or package feeds. A mapping means the vendor’s software is named, not that its hosted service was exposed.
Status incidents that name it
No tracked status incident names this CVE.
Affected vendors and products
cloudflare: workers-sdk
References
- CVE record on cve.org (opens in new tab)
- NVD entry (opens in new tab)
- github.com/cloudflare/workers-sdk/commit/0e500720bf70016fa4ea21fc8959c4bd764ebc3… (opens in new tab)
- github.com/cloudflare/workers-sdk/discussions/3455 (opens in new tab)
- github.com/cloudflare/workers-sdk/security/advisories/GHSA-4pfg-2mw5-f8jx (opens in new tab)
- hackerone.com/reports/3117837 (opens in new tab)
- CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (opens in new tab)
- This product uses data from the NVD API but is not endorsed or certified by the NVD. (opens in new tab)
- Known Exploited Vulnerabilities catalog from CISA. (opens in new tab)
- EPSS scores from FIRST (Exploit Prediction Scoring System). (opens in new tab)