Home / cloudflare / workers-sdk / CVE-2025-59427
CVE-2025-59427: is it exploited, and which versions of cloudflare workers-sdk are affected and fixed?
CVE-2025-59427 is an information disclosure vulnerability in cloudflare workers-sdk. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: @cloudflare/vite-plugin before 1.6.0 (GitHub advisory GHSA-4pfg-2mw5-f8jx). Fixed in 1.6.0 (GitHub advisory GHSA-4pfg-2mw5-f8jx). Severity: Low (2.9, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:17 UTC.
What is CVE-2025-59427?
Cloudflare vite plugin exposes secrets over the built-in dev server
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.
From the CVE record by GitHub_M, last updated September 19, 2025, 16:05 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| cloudflare | workers-sdk | < 1.6.0 |
As the CVE record by GitHub_M states it, last updated September 19, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | @cloudflare/vite-plugin | < 1.6.0 | 1.6.0 | GHSA-4pfg-2mw5-f8jx |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 22, 2025. Summary: Cloudflare Vite plugin exposes secrets over the built-in dev server.
How severe is CVE-2025-59427?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 2.9 | CVSS 4.0 | 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 | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-59427 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, September 19, 2025)
- EPSS
- 0.40% probability of exploitation activity in the next 30 days, percentile 36.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
Where are the vendor advisories and references?
- https://github.com/cloudflare/workers-sdk/security/advisories/GHSA-4pfg-2mw5-f8jx x_refsource_CONFIRM
- https://github.com/cloudflare/workers-sdk/commit/0e500720bf70016fa4ea21fc8959c4bd764ebc38 x_refsource_MISC
- https://hackerone.com/reports/3117837 x_refsource_MISC
- https://github.com/cloudflare/workers-sdk/discussions/3455#discussioncomment-6165773 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- September 15, 2025
- Published
- September 19, 2025, 15:30 UTC
- CVE record updated
- September 19, 2025, 16:05 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 09:46 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:17 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2025-59427
Is CVE-2025-59427 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.40% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of cloudflare workers-sdk are affected by CVE-2025-59427?
@cloudflare/vite-plugin before 1.6.0, per the GitHub advisory GHSA-4pfg-2mw5-f8jx. The tables above give every range the sources list.
Which version fixes CVE-2025-59427?
1.6.0, per the GitHub advisory GHSA-4pfg-2mw5-f8jx. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-59427?
Low (2.9, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-59427?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.