CVE-2026-39365
Vite has a Path Traversal in Optimized Deps `.map` Handling
Vite is a frontend tooling framework for JavaScript. From 6.0.0 to before 6.4.2, 7.3.2, and 8.0.5, the dev server’s handling of .map requests for optimized dependencies resolves file paths and calls readFile without restricting ../ segments in the URL. As a result, it is possible to bypass the server.fs.strict allow list and retrieve .map files located outside the project root, provided they can be parsed as valid source map JSON. This vulnerability is fixed in 6.4.2, 7.3.2, and 8.0.5.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.914% · 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-19T16:57:41.748Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 6.3 · published by GitHub_MCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:01:53.273Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:57:41.748Z | CISA KEV |
| cvss | verified | 2026-11-19T12:01:53.273Z | CVE Program |
| epss | verified | 2026-11-19T16:04:49.616Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:51:58.234Z | OSV |
| affected | verified | 2026-11-19T12:01:53.273Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:01:53.273Z | CVE Program |
Affected versions and configuration
vitejs vite; default status: unknown: >= 8.0.0, < 8.0.5 [affected; scheme: unspecified]; >= 7.0.0, < 7.3.2 [affected; scheme: unspecified]; >= 6.0.0, < 6.4.2 [affected; scheme: unspecified] vitejs vite-plus; default status: unknown: < 0.1.16 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
OSV · osv · full conditions
{
"id": "GHSA-4w7w-66w2-5vf9",
"aliases": [
"CVE-2026-39365"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "8.0.0"
},
{
"fixed": "8.0.5"
}
]
}
],
"package": {
"name": "vite",
"purl": "pkg:npm/vite",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-4w7w-66w2-5vf9/GHSA-4w7w-66w2-5vf9.json",
"last_known_affected_version_range": "<= 8.0.4"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "7.0.0"
},
{
"fixed": "7.3.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/2026/04/GHSA-4w7w-66w2-5vf9/GHSA-4w7w-66w2-5vf9.json",
"last_known_affected_version_range": "<= 7.3.1"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "6.4.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/2026/04/GHSA-4w7w-66w2-5vf9/GHSA-4w7w-66w2-5vf9.json",
"last_known_affected_version_range": "<= 6.4.1"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/vitejs/vite/security/advisories/GHSA-4w7w-66w2-5vf9",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-39365",
"type": "ADVISORY"
},
{
"url": "https://github.com/vitejs/vite/pull/22161",
"type": "WEB"
},
{
"url": "https://github.com/vitejs/vite/commit/79f002f2286c03c88c7b74c511c7f9fc6dc46694",
"type": "WEB"
},
{
"url": "https://github.com/vitejs/vite",
"type": "PACKAGE"
},
{
"url": "https://github.com/vitejs/vite/releases/tag/v6.4.2",
"type": "WEB"
},
{
"url": "https://github.com/vitejs/vite/releases/tag/v7.3.2",
"type": "WEB"
},
{
"url": "https://github.com/vitejs/vite/releases/tag/v8.0.5",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-200",
"CWE-22"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2026-04-07T20:16:30Z",
"github_reviewed_at": "2026-04-06T18:03:46Z"
}
}Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "vitejs",
"product": "vite",
"versions": [
{
"status": "affected",
"version": ">= 8.0.0, < 8.0.5"
},
{
"status": "affected",
"version": ">= 7.0.0, < 7.3.2"
},
{
"status": "affected",
"version": ">= 6.0.0, < 6.4.2"
}
]
},
{
"vendor": "vitejs",
"product": "vite-plus",
"versions": [
{
"status": "affected",
"version": "< 0.1.16"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-39365",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-04-09T18:10:42.839064Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-04-15T14:23:24.501Z"
}
}
]
}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 | 8.0.5 | Official record |
| ecosystem-boundary | npm / package | vite | Not a distribution channel | 7.3.2 | Official record |
| ecosystem-boundary | npm / package | vite | Not a distribution channel | 6.4.2 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T12:01:53.273ZArchived source JSON
Source publication: 2026-04-07T19:13:50.927Z
Source modification: 2026-04-15T14:23:24.501ZDocument fingerprint
7854eb806c16cab8d7bb9b3ff7dd4a8281c042ceb8d045389ad1dece558c72ad - OSVConsulted: 2026-11-19T12:51:58.234ZArchived source JSON
Source publication: 2026-04-06T18:03:46.000Z
Source modification: 2026-09-10T03:50:42.779ZDocument fingerprint
18ee2ac2ac93eab49131193db51d1c75d04979859dfd42d9bef2e8f57776c368 - CISA KEVConsulted: 2026-11-19T16:57:41.748ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:49.616ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
21dd983f00e8645324096731e4fb75be5ea39aa4a58a565c80b67996d366740e
Official status history
- UNKNOWN → PUBLISHED · · evidence