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.
영향 받는 제품 제품 1개
-
해결 버전 있음
vitest-dev
vitest
영향 받는 버전
- 3.2.5 미만
- 4.0.0 이상 4.1.0 미만
해결 버전
- 3.2.5 이상
- 4.1.0 이상
참고 자료 7건
- github.com https://github.com/vitest-dev/vitest/commit/20e00ef7808de6d330c5e2fda530f686e08f1c8d (새 창)
- github.com https://github.com/vitest-dev/vitest/commit/af88b1f5d82844a4761ea9a977156c98e2b14ca8 (새 창)
- github.com https://github.com/vitest-dev/vitest/pull/10445 (새 창)
- github.com https://github.com/vitest-dev/vitest/pull/9350 (새 창)
- github.com https://github.com/vitest-dev/vitest/releases/tag/v3.2.5 (새 창)
- github.com https://github.com/vitest-dev/vitest/releases/tag/v4.1.0 (새 창)
- github.com https://github.com/vitest-dev/vitest/security/advisories/GHSA-5xrq-8626-4rwp (새 창)