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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47429.json",
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-22"
]
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "3.2.5"
},
{
"introduced": "4.0.0"
},
{
"fixed": "4.1.0"
}
],
"source": [
"AFFECTED_FIELD",
"REFERENCES"
]
}