CVE-2025-30208
Vite bypasses server.fs.deny when using `?raw??`
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 74.771% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 5.3 · published by GitHub_MCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
Assessment source · checked 2026-11-19T12:57:30.632Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | verified | 2026-11-19T12:57:30.632Z | CVE Program |
| epss | verified | 2026-11-19T16:04:40.588Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:51:58.234Z | OSV |
| affected | verified | 2026-11-19T12:57:30.632Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:30.632Z | CVE Program |
Affected versions and configuration
vitejs vite; default status: unknown: < 4.5.10 [affected; scheme: unspecified]; >= 5.0.0, < 5.4.15 [affected; scheme: unspecified]; >= 6.0.0, < 6.0.12 [affected; scheme: unspecified]; >= 6.1.0, < 6.1.2 [affected; scheme: unspecified]; >= 6.2.0, < 6.2.3 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "vitejs",
"product": "vite",
"versions": [
{
"status": "affected",
"version": "< 4.5.10"
},
{
"status": "affected",
"version": ">= 5.0.0, < 5.4.15"
},
{
"status": "affected",
"version": ">= 6.0.0, < 6.0.12"
},
{
"status": "affected",
"version": ">= 6.1.0, < 6.1.2"
},
{
"status": "affected",
"version": ">= 6.2.0, < 6.2.3"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2025-30208",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-03-24T17:40:42.736527Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-03-24T17:46:37.205Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-x574-m823-4x7w",
"aliases": [
"CVE-2025-30208"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.2.3"
}
]
}
],
"package": {
"name": "vite",
"purl": "pkg:npm/vite",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-x574-m823-4x7w/GHSA-x574-m823-4x7w.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "6.1.0"
},
{
"fixed": "6.1.2"
}
]
}
],
"package": {
"name": "vite",
"purl": "pkg:npm/vite",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-x574-m823-4x7w/GHSA-x574-m823-4x7w.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "6.0.0"
},
{
"fixed": "6.0.12"
}
]
}
],
"package": {
"name": "vite",
"purl": "pkg:npm/vite",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-x574-m823-4x7w/GHSA-x574-m823-4x7w.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "5.0.0"
},
{
"fixed": "5.4.15"
}
]
}
],
"package": {
"name": "vite",
"purl": "pkg:npm/vite",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-x574-m823-4x7w/GHSA-x574-m823-4x7w.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.5.10"
}
]
}
],
"package": {
"name": "vite",
"purl": "pkg:npm/vite",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-x574-m823-4x7w/GHSA-x574-m823-4x7w.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/vitejs/vite/security/advisories/GHSA-x574-m823-4x7w",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-30208",
"type": "ADVISORY"
},
{
"url": "https://github.com/vitejs/vite/commit/315695e9d97cc6cfa7e6d9e0229fb50cdae3d9f4",
"type": "WEB"
},
{
"url": "https://github.com/vitejs/vite/commit/80381c38d6f068b12e6e928cd3c616bd1d64803c",
"type": "WEB"
},
{
"url": "https://github.com/vitejs/vite/commit/807d7f06d33ab49c48a2a3501da3eea1906c0d41",
"type": "WEB"
},
{
"url": "https://github.com/vitejs/vite/commit/92ca12dc79118bf66f2b32ff81ed09e0d0bd07ca",
"type": "WEB"
},
{
"url": "https://github.com/vitejs/vite/commit/f234b5744d8b74c95535a7b82cc88ed2144263c1",
"type": "WEB"
},
{
"url": "https://github.com/vitejs/vite",
"type": "PACKAGE"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-200",
"CWE-284"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2025-03-24T17:15:21Z",
"github_reviewed_at": "2025-03-25T14:00:02Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | npm / package | vite | Not a distribution channel | 6.2.3 | Official record |
| ecosystem-boundary | npm / package | vite | Not a distribution channel | 6.1.2 | Official record |
| ecosystem-boundary | npm / package | vite | Not a distribution channel | 6.0.12 | Official record |
| ecosystem-boundary | npm / package | vite | Not a distribution channel | 5.4.15 | Official record |
| ecosystem-boundary | npm / package | vite | Not a distribution channel | 4.5.10 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:51:58.234ZArchived source JSON
Source publication: 2025-03-25T14:00:02.000Z
Source modification: 2026-09-10T03:50:23.379ZDocument fingerprint
18ee2ac2ac93eab49131193db51d1c75d04979859dfd42d9bef2e8f57776c368 - CVE ProgramConsulted: 2026-11-19T12:57:30.632ZArchived source JSON
Source publication: 2025-03-24T17:03:40.728Z
Source modification: 2025-03-24T17:46:37.205ZDocument fingerprint
8ee96ccbd953955885ae098e3f672d687f651abfebd1294f9e0830c42ebad559 - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:40.588ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
f828727fd2419e9ee62887077d52e76b99e46a1d7a1ce89e08e7e861a70ba109
Official status history
- UNKNOWN → PUBLISHED · · evidence