Skip to main content
← All vulnerabilities
CVE-2025-59427GHSA-4PFG-2MW5-F8JX

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.6.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • cloudflare workers-sdk

    fixed in 1.6.0

  • @cloudflare/vite-pluginnpm

    fixed in 1.6.0

References 4

GitHub · cloudflare/workers-sdk

hackerone.com