CVE-2026-47429
Vitest: Arbitrary file can be read and executed when Vitest UI server is listening
Vitest is a testing framework powered by Vite. Prior to 3.2.5 and 4.1.0, the Vitest UI/API server on Windows used isFileServingAllowed incorrectly for /__vitest_attachment__, allowing \\?\\..\\ path traversal to read files outside the project; exposed API write and rerun features such as saveTestFile and rerun could also allow arbitrary script execution. This issue is fixed in versions 3.2.5 and 4.1.0.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 1.028% · 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 3.1 · 9.8 · published by GitHub_MCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Assessment source · checked 2026-11-19T12:58:41.731Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:57:41.748Z | CISA KEV |
| cvss | verified | 2026-11-19T12:58:41.731Z | CVE Program |
| epss | verified | 2026-11-19T16:04:51.377Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:29.323Z | OSV |
| affected | verified | 2026-11-19T12:58:41.731Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:41.731Z | CVE Program |
Affected versions and configuration
vitest-dev vitest; default status: unknown: < 3.2.5 [affected; scheme: unspecified]; >= 4.0.0, < 4.1.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": "vitest-dev",
"product": "vitest",
"versions": [
{
"status": "affected",
"version": "< 3.2.5"
},
{
"status": "affected",
"version": ">= 4.0.0, < 4.1.0"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-47429",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-07-21T15:02:06.439415Z"
}
}
}
],
"references": [
{
"url": "https://github.com/vitest-dev/vitest/security/advisories/GHSA-5xrq-8626-4rwp",
"tags": [
"exploit"
]
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-07-21T15:02:17.187Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-5xrq-8626-4rwp",
"aliases": [
"CVE-2026-47429"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.1.0"
}
]
}
],
"package": {
"name": "vitest",
"purl": "pkg:npm/vitest",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-5xrq-8626-4rwp/GHSA-5xrq-8626-4rwp.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.2.6"
}
]
}
],
"package": {
"name": "vitest",
"purl": "pkg:npm/vitest",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-5xrq-8626-4rwp/GHSA-5xrq-8626-4rwp.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/vitest-dev/vitest/security/advisories/GHSA-5xrq-8626-4rwp",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-47429",
"type": "ADVISORY"
},
{
"url": "https://github.com/vitest-dev/vitest/pull/10445",
"type": "WEB"
},
{
"url": "https://github.com/vitest-dev/vitest/pull/9350",
"type": "WEB"
},
{
"url": "https://github.com/vitest-dev/vitest/commit/20e00ef7808de6d330c5e2fda530f686e08f1c8d",
"type": "WEB"
},
{
"url": "https://github.com/vitest-dev/vitest/commit/af88b1f5d82844a4761ea9a977156c98e2b14ca8",
"type": "WEB"
},
{
"url": "https://github.com/vitest-dev/vitest",
"type": "PACKAGE"
},
{
"url": "https://github.com/vitest-dev/vitest/blob/eb1abf08573032a532015b999ad3501c5e89e3bb/packages/browser/src/node/commands/fs.ts#L10-L11",
"type": "WEB"
},
{
"url": "https://github.com/vitest-dev/vitest/blob/eb1abf08573032a532015b999ad3501c5e89e3bb/packages/browser/src/node/plugin.ts#L194-L196",
"type": "WEB"
},
{
"url": "https://github.com/vitest-dev/vitest/blob/eb1abf08573032a532015b999ad3501c5e89e3bb/packages/browser/src/node/rpc.ts#L115-L121",
"type": "WEB"
},
{
"url": "https://github.com/vitest-dev/vitest/blob/eb1abf08573032a532015b999ad3501c5e89e3bb/packages/ui/node/index.ts#L77",
"type": "WEB"
},
{
"url": "https://github.com/vitest-dev/vitest/blob/eb1abf08573032a532015b999ad3501c5e89e3bb/packages/vitest/src/api/setup.ts#L103-L105",
"type": "WEB"
},
{
"url": "https://github.com/vitest-dev/vitest/blob/eb1abf08573032a532015b999ad3501c5e89e3bb/packages/vitest/src/api/setup.ts#L119-L121",
"type": "WEB"
},
{
"url": "https://github.com/vitest-dev/vitest/releases/tag/v3.2.5",
"type": "WEB"
},
{
"url": "https://github.com/vitest-dev/vitest/releases/tag/v4.1.0",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-22",
"CWE-862"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": "2026-07-14T20:17:02Z",
"github_reviewed_at": "2026-06-01T14:09:53Z"
}
}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 | vitest | Not a distribution channel | 4.1.0 | Official record |
| ecosystem-boundary | npm / package | vitest | Not a distribution channel | 3.2.6 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:29.323ZArchived source JSON
Source publication: 2026-06-01T14:09:53.000Z
Source modification: 2026-09-10T03:50:48.501ZDocument fingerprint
8e2a78812a343f3a856262818c69ac6b6af8f2a671c28eb29cfee8f432352595 - CVE ProgramConsulted: 2026-11-19T12:58:41.731ZArchived source JSON
Source publication: 2026-07-14T19:28:08.688Z
Source modification: 2026-07-21T15:02:17.187ZDocument fingerprint
69c015e8ea345826ebc7c324084eea85af27548675dee8a993f137ae8cd7233f - 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:51.377ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
314533c6cad7257b55626d2ae0cd98a6c49376abfa725a18eb65ebef4059364a
Official status history
- UNKNOWN → PUBLISHED · · evidence