CVE-2025-62522
vite allows server.fs.deny bypass via backslash on Windows
Vite is a frontend tooling framework for JavaScript. In versions from 2.9.18 to before 3.0.0, 3.2.9 to before 4.0.0, 4.5.3 to before 5.0.0, 5.2.6 to before 5.4.21, 6.0.0 to before 6.4.1, 7.0.0 to before 7.0.8, and 7.1.0 to before 7.1.11, files denied by server.fs.deny were sent if the URL ended with \ when the dev server is running on Windows. Only apps explicitly exposing the Vite dev server to the network and running the dev server on Windows were affected. This issue has been patched in versions 5.4.21, 6.4.1, 7.0.8, and 7.1.11.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 1.045% · 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 4.0 · 6 · published by GitHub_MCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:57:44.156Z
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:44.156Z | CVE Program |
| epss | verified | 2026-11-19T16:04:41.864Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:51:58.234Z | OSV |
| affected | verified | 2026-11-19T12:57:44.156Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:44.156Z | CVE Program |
Affected versions and configuration
vitejs vite; default status: unknown: >= 7.1.0, < 7.1.11 [affected; scheme: unspecified]; >= 7.0.0, < 7.0.8 [affected; scheme: unspecified]; >= 6.0.0, < 6.4.1 [affected; scheme: unspecified]; >= 5.2.6, < 5.4.21 [affected; scheme: unspecified]; >= 4.5.3, < 5.0.0 [affected; scheme: unspecified]; >= 3.2.9, < 4.0.0 [affected; scheme: unspecified]; >= 2.9.18, < 3.0.0 [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": ">= 7.1.0, < 7.1.11"
},
{
"status": "affected",
"version": ">= 7.0.0, < 7.0.8"
},
{
"status": "affected",
"version": ">= 6.0.0, < 6.4.1"
},
{
"status": "affected",
"version": ">= 5.2.6, < 5.4.21"
},
{
"status": "affected",
"version": ">= 4.5.3, < 5.0.0"
},
{
"status": "affected",
"version": ">= 3.2.9, < 4.0.0"
},
{
"status": "affected",
"version": ">= 2.9.18, < 3.0.0"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2025-62522",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-10-20T20:16:51.209674Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-10-20T20:17:08.287Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-93m4-6634-74q7",
"aliases": [
"CVE-2025-62522"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "7.1.0"
},
{
"fixed": "7.1.11"
}
]
}
],
"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/10/GHSA-93m4-6634-74q7/GHSA-93m4-6634-74q7.json",
"last_known_affected_version_range": "<= 7.1.10"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "7.0.0"
},
{
"fixed": "7.0.8"
}
]
}
],
"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/10/GHSA-93m4-6634-74q7/GHSA-93m4-6634-74q7.json",
"last_known_affected_version_range": "<= 7.0.7"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "6.0.0"
},
{
"fixed": "6.4.1"
}
]
}
],
"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/10/GHSA-93m4-6634-74q7/GHSA-93m4-6634-74q7.json",
"last_known_affected_version_range": "<= 6.4.0"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "2.9.18"
},
{
"fixed": "5.4.21"
}
]
}
],
"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/10/GHSA-93m4-6634-74q7/GHSA-93m4-6634-74q7.json",
"last_known_affected_version_range": "< 3.0.0"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "3.2.9"
},
{
"fixed": "5.4.21"
}
]
}
],
"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/10/GHSA-93m4-6634-74q7/GHSA-93m4-6634-74q7.json",
"last_known_affected_version_range": "< 4.0.0"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "4.5.3"
},
{
"fixed": "5.4.21"
}
]
}
],
"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/10/GHSA-93m4-6634-74q7/GHSA-93m4-6634-74q7.json",
"last_known_affected_version_range": "< 5.0.0"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "5.2.6"
},
{
"fixed": "5.4.21"
}
]
}
],
"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/10/GHSA-93m4-6634-74q7/GHSA-93m4-6634-74q7.json",
"last_known_affected_version_range": "<= 5.4.20"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/vitejs/vite/security/advisories/GHSA-93m4-6634-74q7",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-62522",
"type": "ADVISORY"
},
{
"url": "https://github.com/vitejs/vite/commit/f479cc57c425ed41ceb434fecebd63931b1ed4ed",
"type": "WEB"
},
{
"url": "https://github.com/vitejs/vite",
"type": "PACKAGE"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-22"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2025-10-20T20:15:37Z",
"github_reviewed_at": "2025-10-20T19:54:28Z"
}
}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 | 7.1.11 | Official record |
| ecosystem-boundary | npm / package | vite | Not a distribution channel | 7.0.8 | Official record |
| ecosystem-boundary | npm / package | vite | Not a distribution channel | 6.4.1 | Official record |
| ecosystem-boundary | npm / package | vite | Not a distribution channel | 5.4.21 | 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-10-20T19:54:28.000Z
Source modification: 2026-09-10T03:50:29.574ZDocument fingerprint
18ee2ac2ac93eab49131193db51d1c75d04979859dfd42d9bef2e8f57776c368 - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:57:44.156ZArchived source JSON
Source publication: 2025-10-20T19:57:13.188Z
Source modification: 2025-10-20T20:17:08.287ZDocument fingerprint
6686c8f4313416f641ae593adedd65d87eb581b49419c681a64b6cb02983cd43 - FIRST EPSSConsulted: 2026-11-19T16:04:41.864ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
09df03f9e4ac0890671b481adc15352105826dd59b4f13294f3708bead65ab2a
Official status history
- UNKNOWN → PUBLISHED · · evidence