{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-59427","id":"CVE-2025-59427","title":"Cloudflare vite plugin exposes secrets over the built-in dev server","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.","descriptionLong":"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.","published":"2025-09-19T15:30:10.139Z","updated":"2026-11-12T10:45:16.811739624Z","reserved":"2025-09-15T19:13:16.905Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":2.9,"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","rating":"low","source":"GitHub_M"},"metrics":[{"version":"4.0","score":2.9,"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","rating":"low","source":"GitHub_M"},{"version":"4.0","score":2.9,"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"low","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P","rating":"medium","source":"GitHub"}],"rating":"low","products":["cloudflare workers-sdk"],"affectedProducts":[{"vendor":"cloudflare","product":"workers-sdk","defaultStatus":null,"versions":[{"version":"< 1.6.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@cloudflare/vite-plugin","purl":"pkg:npm/%40cloudflare/vite-plugin","ranges":["<1.6.0"],"fixed":["1.6.0"],"advisory":"GHSA-4pfg-2mw5-f8jx"}],"cwes":["CWE-200"],"aliases":["GHSA-4pfg-2mw5-f8jx"],"references":[{"url":"https://github.com/cloudflare/workers-sdk/security/advisories/GHSA-4pfg-2mw5-f8jx","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/cloudflare/workers-sdk/commit/0e500720bf70016fa4ea21fc8959c4bd764ebc38","tags":["x_refsource_MISC","fix","web"]},{"url":"https://hackerone.com/reports/3117837","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/cloudflare/workers-sdk/discussions/3455#discussioncomment-6165773","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59427.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59427","tags":["advisory"]},{"url":"https://github.com/cloudflare/workers-sdk","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.00384,"epssPercentile":0.33067,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-59427","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59427","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-59427","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-4pfg-2mw5-f8jx","ok":true,"note":"GHSA-4pfg-2mw5-f8jx"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-59427","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}