CVE-2025-30208
Exploitation reported by one source. First attested on 2026-04-06 by GCVE · kevintel.
- Published2025-03-24
- Fixed in6.2.3 · 6.1.2 · 6.0.12 · 5.4.15 · 4.5.10
- WeaknessCWE-200 · CWE-284
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
Vite, a provider of frontend development tooling, has a vulnerability in versions prior to 6.2.3, 6.1.2, 6.0.12, 5.4.15, and 4.5.10. `@fs` denies access to files outside of Vite serving allow list. Adding `?raw??` or `?import&raw??` to the URL bypasses this limitation and returns the file content if it exists. This bypass exists because trailing separators such as `?` are removed in several places, but are not accounted for in query string regexes. The contents of arbitrary files can be returned to the browser. Only apps explicitly exposing the Vite dev server to the network (using `--host` or `server.host` config option) are affected. Versions 6.2.3, 6.1.2, 6.0.12, 5.4.15, and 4.5.10 fix the issue.
Timeline
dates in UTC- 2025-03-2417:15CVE publishedNVD
- 2025-04-03Exploit-DB entryExploit-DB
- 2026-04-0619:42Listed as exploited by GCVEGCVE
- 2026-04-0619:42Exploitation first reportedGCVE
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 6.2 | ≥ 6.2.0, < 6.2.3 | 6.2.3 | NVD · OSV |
| 6.1 | ≥ 6.1.0, < 6.1.2 | 6.1.2 | NVD · OSV |
| 6.0 | ≥ 6.0.0, < 6.0.12 | 6.0.12 | NVD · OSV |
| 5.x | ≥ 5.0.0, < 5.4.15 | 5.4.15 | NVD · OSV |
| 4.5 | < 4.5.10 | 4.5.10 | NVD · OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- vitejs viteAffected
- = < 4.5.10no fix stated
- = >= 5.0.0, < 5.4.15no fix stated
- = >= 6.0.0, < 6.0.12no fix stated
- = >= 6.1.0, < 6.1.2no fix stated
- = >= 6.2.0, < 6.2.3no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2025-03-24
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- @rootio/viteRoot:npmall versions · fixed in 2.9.18-root.io.1
- @rootio/viteRoot:npmall versions · fixed in 2.9.18-root.io.2
- @rootio/viteRoot:npmall versions · fixed in 2.9.18-root.io.3
- langfuse-2-workerChainguardall versions · fixed in 2.95.12-r26
- langfuse-fips-2-workerChainguardall versions · fixed in 2.95.12-r28
- trigger-devMinimOSall versions · fixed in 4.5.11-r1
- viteTuxCare:npmfrom 5.4.14-tuxcare.0 · fixed in 5.4.14-tuxcare.1and 1 other package
- viteTuxCare:npmfrom 4.5.5-tuxcare.0 · fixed in 4.5.5-tuxcare.1
8 more package ranges on OSV.dev
Vendor advisories
vite: Vite bypasses server.fs.deny when using `?raw??`
automation-controller.src as a component of Red Hat Ansible Automation Platform 2 · automation-gateway.src as a component of Red Hat Ansible Automation Platform 2 · rhosdt/tempo-gateway-opa-rhel8 as a component of Red Hat OpenShift distributed tracing 3 · +5 more
Fix
- Update Vitejs vite to 6.2.3 · 6.1.2 · 6.0.12 · 5.4.15 · 4.5.10
- No fix available, says the vendor Red Hat Product Security CVE-2025-30208 · 1 productAffected
- No fix planned, says the vendor Red Hat Product Security CVE-2025-30208 · 7 productsOut of support scope
Advisories and patches
- github.comPatch
- github.comPatch
- github.comPatch
- github.comPatch
- github.comPatch
Detection
read 2026-11-02 22:43 UTC- Nuclei template
- available ProjectDiscovery
- Proof of concept
- CISA-ADP (SSVC)PoC stated2025-03-24
- PoC-in-GitHub20 repositories, unverifiedknown since 2026-11-02xuemian168/CVE-2025-30208ThumpBo/CVE-2025-30208-EXPMiclelsonCN/CVE-2025-30208_POCmarino-admin/Vite-CVE-2025-30208-ScanneriSee857/CVE-2025-30208-PoC
- Metasploit modules
- none listed Metasploit Framework
Sources
- GCVEexploitation2026-04-06
- CISA-ADPSSVC decisionpoc2025-03-24
- CNACVSS 3.15.3known since 2026-10-23
- NVDCVSS 3.17.5read 2026-10-23
- CNAweakness (CWE)CWE-200, CWE-284known since 2026-10-23
- FIRST EPSSEPSS score74.8 %read 2026-11-17
- PoC-in-GitHubproof of concept20known since 2026-11-02
- Exploit-DBdetectionread 2026-11-17
- ProjectDiscoverydetectionread 2026-11-17
- OSVaffected packages—
- GitHub AdvisoriesadvisoryMODERATE2025-03-25
Identifiers
- CGA-2334-66w2-w5fqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-395r-jgmj-f2vpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-h8w6-74qm-47mjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-xcwg-2742-7c95same flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2025-8079same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-x574-m823-4x7wsame flawGitHub Advisory Database · CC-BY-4.0
- MINI-8g8g-g9xj-8mm9same flawMinimOS · LicenseRef-unstated
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Published
- 2025-03-24
- Last Modified
- 2026-06-17
- NVD status
- Analyzed
- GitHub Advisory
- GHSA-x574-m823-4x7w
Frequently asked questions
What is CVE-2025-30208?
Is CVE-2025-30208 actively exploited?
What is the CVSS score for CVE-2025-30208?
Running vite? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- For a threat intelligence platform: malware, C2 and ransomware indicators over STIX/TAXII.
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- Exploit-DB · Exploit-DB terms of service · terms restrict redistribution
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GCVE · GCVE dump terms (preserve source attribution)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-x574-m823-4x7w
- Nuclei templates · MIT
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0