CVE Explorer
CVE-2026-47429
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"vitest","vendor":"vitest-dev","versions":[{"status":"affected","version":"< 3.2.5"},{"status":"affected","version":">= 4.0.0, < 4.1.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:d9cfa1e6705874d1073ec8ba67f0d5118bd2beefe8313f393b95d3b96dfa46dc · sha256:e2f480b411155a82… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:d9cfa1e6705874d1073ec8ba67f0d5118bd2beefe8313f393b95d3b96dfa46dc · sha256:e2f480b411155a82… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d9cfa1e6705874d1073ec8ba67f0d5118bd2beefe8313f393b95d3b96dfa46dc · sha256:e2f480b411155a82… · /containers/cna/problemTypes/0/descriptions/0
Source references
8 source assertions{"name":"https://github.com/vitest-dev/vitest/commit/20e00ef7808de6d330c5e2fda530f686e08f1c8d","tags":["x_refsource_MISC"],"url":"https://github.com/vitest-dev/vitest/commit/20e00ef7808de6d330c5e2fda530f686e08f1c8d"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d9cfa1e6705874d1073ec8ba67f0d5118bd2beefe8313f393b95d3b96dfa46dc · sha256:e2f480b411155a82… · /containers/cna/references/3
{"name":"https://github.com/vitest-dev/vitest/commit/af88b1f5d82844a4761ea9a977156c98e2b14ca8","tags":["x_refsource_MISC"],"url":"https://github.com/vitest-dev/vitest/commit/af88b1f5d82844a4761ea9a977156c98e2b14ca8"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d9cfa1e6705874d1073ec8ba67f0d5118bd2beefe8313f393b95d3b96dfa46dc · sha256:e2f480b411155a82… · /containers/cna/references/4
{"name":"https://github.com/vitest-dev/vitest/pull/10445","tags":["x_refsource_MISC"],"url":"https://github.com/vitest-dev/vitest/pull/10445"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d9cfa1e6705874d1073ec8ba67f0d5118bd2beefe8313f393b95d3b96dfa46dc · sha256:e2f480b411155a82… · /containers/cna/references/1
{"name":"https://github.com/vitest-dev/vitest/pull/9350","tags":["x_refsource_MISC"],"url":"https://github.com/vitest-dev/vitest/pull/9350"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d9cfa1e6705874d1073ec8ba67f0d5118bd2beefe8313f393b95d3b96dfa46dc · sha256:e2f480b411155a82… · /containers/cna/references/2
{"name":"https://github.com/vitest-dev/vitest/releases/tag/v3.2.5","tags":["x_refsource_MISC"],"url":"https://github.com/vitest-dev/vitest/releases/tag/v3.2.5"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d9cfa1e6705874d1073ec8ba67f0d5118bd2beefe8313f393b95d3b96dfa46dc · sha256:e2f480b411155a82… · /containers/cna/references/5
{"name":"https://github.com/vitest-dev/vitest/releases/tag/v4.1.0","tags":["x_refsource_MISC"],"url":"https://github.com/vitest-dev/vitest/releases/tag/v4.1.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d9cfa1e6705874d1073ec8ba67f0d5118bd2beefe8313f393b95d3b96dfa46dc · sha256:e2f480b411155a82… · /containers/cna/references/6
{"name":"https://github.com/vitest-dev/vitest/security/advisories/GHSA-5xrq-8626-4rwp","tags":["x_refsource_CONFIRM"],"url":"https://github.com/vitest-dev/vitest/security/advisories/GHSA-5xrq-8626-4rwp"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d9cfa1e6705874d1073ec8ba67f0d5118bd2beefe8313f393b95d3b96dfa46dc · sha256:e2f480b411155a82… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/vitest-dev/vitest/security/advisories/GHSA-5xrq-8626-4rwp"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d9cfa1e6705874d1073ec8ba67f0d5118bd2beefe8313f393b95d3b96dfa46dc · sha256:e2f480b411155a82… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.