{"id":"CVE-2025-59427","state":"PUBLISHED","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.","publishedAt":"2025-09-19T15:30:10.139Z","updatedAt":"2025-09-19T16:05:12.864Z","severity":{"score":2.9,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["cloudflare workers-sdk"],"affected":[{"vendor":"cloudflare","product":"workers-sdk","versions":[{"version":"< 1.6.0","status":"affected"}]}],"references":["https://github.com/cloudflare/workers-sdk/security/advisories/GHSA-4pfg-2mw5-f8jx","https://github.com/cloudflare/workers-sdk/commit/0e500720bf70016fa4ea21fc8959c4bd764ebc38","https://hackerone.com/reports/3117837","https://github.com/cloudflare/workers-sdk/discussions/3455#discussioncomment-6165773"],"weaknesses":["CWE-200"],"ingestedAt":"2026-10-29T20:09:39.787Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/59xxx/CVE-2025-59427.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-59427","state":"PUBLISHED","datePublished":"2025-09-19T15:30:10.139Z","dateUpdated":"2025-09-19T16:05:12.864Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-09-15T19:13:16.905Z"},"containers":{"cna":{"title":"Cloudflare vite plugin exposes secrets over the built-in dev server","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"cloudflare","product":"workers-sdk","versions":[{"version":"< 1.6.0","status":"affected"}]}],"references":[{"url":"https://github.com/cloudflare/workers-sdk/security/advisories/GHSA-4pfg-2mw5-f8jx","name":"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","name":"https://github.com/cloudflare/workers-sdk/commit/0e500720bf70016fa4ea21fc8959c4bd764ebc38","tags":["x_refsource_MISC"]},{"url":"https://hackerone.com/reports/3117837","name":"https://hackerone.com/reports/3117837","tags":["x_refsource_MISC"]},{"url":"https://github.com/cloudflare/workers-sdk/discussions/3455#discussioncomment-6165773","name":"https://github.com/cloudflare/workers-sdk/discussions/3455#discussioncomment-6165773","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":2.9,"baseSeverity":"LOW","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-200","lang":"en","description":"CWE-200: Exposure of Sensitive Information to an Unauthorized Actor","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-09-19T15:30:10.139Z"},"source":{"advisory":"GHSA-4pfg-2mw5-f8jx","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-09-19T16:03:53.829374Z","id":"CVE-2025-59427","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-09-19T16:05:12.864Z"}}]}}}