9.8
CVE-2026-47429
- EPSS 0.92%
- Veröffentlicht 14.07.2026 19:28:08
- Zuletzt bearbeitet 06.08.2026 18:25:42
- CVE-Watchlists
- Unerledigt
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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
Vitest.Dev ≫ Vitest SwPlatformnode.js Version < 3.2.5
Vitest.Dev ≫ Vitest SwPlatformnode.js Version >= 4.0.0 < 4.1.0
| Typ | Quelle | Score | Percentile |
|---|---|---|---|
| EPSS | FIRST.org | 0.92% | 0.57 |
| Quelle | Base Score | Exploit Score | Impact Score | Vector String |
|---|---|---|---|---|
| NIST | 5.9 | 2.2 | 3.6 |
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
|
| security-advisories@github.com | 9.8 | 3.9 | 5.9 |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
|
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
https://github.com/vitest-dev/vitest/security/advisories/GHSA-5xrq-8626-4rwp
https://github.com/vitest-dev/vitest/pull/10445
https://github.com/vitest-dev/vitest/pull/9350
https://github.com/vitest-dev/vitest/commit/20e00ef7808de6d330c5e2fda530f686e08f1c8d
https://github.com/vitest-dev/vitest/commit/af88b1f5d82844a4761ea9a977156c98e2b14ca8
https://github.com/vitest-dev/vitest/releases/tag/v3.2.5
https://github.com/vitest-dev/vitest/releases/tag/v4.1.0