{"id":"CVE-2025-59427","published":"2025-09-19T15:30:10Z","modified":"2025-09-19T16:05:12Z","title":"Cloudflare vite plugin exposes secrets over the built-in dev server","vendor":"cloudflare","product":"workers-sdk","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.9,"severity":"LOW","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00723,"percentile":0.49867,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/cloudflare/workers-sdk/security/advisories/GHSA-4pfg-2mw5-f8jx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/cloudflare/workers-sdk/commit/0e500720bf70016fa4ea21fc8959c4bd764ebc38","tags":["x_refsource_MISC"]},{"url":"https://hackerone.com/reports/3117837","tags":["x_refsource_MISC"]},{"url":"https://github.com/cloudflare/workers-sdk/discussions/3455#discussioncomment-6165773","tags":["x_refsource_MISC"]}],"priority":{"score":12.0,"factors":[{"name":"EPSS percentile","points":9.97},{"name":"CVSS severity","points":2.03}]},"vendorSlug":"cloudflare","affectedVersions":[{"vendor":"cloudflare","product":"workers-sdk","versions":["< 1.6.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-09-19T16:03:53.829374Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@cloudflare/vite-plugin","vulnerableRanges":["<1.6.0"],"patched":["1.6.0"],"from":["GHSA-4pfg-2mw5-f8jx"],"provenance":"source"}],"summary":{"text":"The Cloudflare Vite plugin in the workers-sdk product exposes all files through its local development server when run in its default configuration, including sensitive files in the project root such as .env and .dev.vars. An unauthenticated attacker with network access to the dev server can read these files without user interaction, and the exposure requires the default plugin configuration to be in use.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:13:43Z"},"euvd":{"id":"EUVD-2025-29441","exploited":false,"provenance":"source"}}