Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-47429— Vitest: Arbitrary file can be read and executed when Vitest UI server is listening

Quick assessment

Affected
vitest-dev vitest
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Vitest vitest是Vitest公司的一款快速的前端测试框架。 Vitest 3.2.5之前版本和4.1.0之前版本存在路径遍历漏洞,该漏洞源于isFileServingAllowed使用不当和路径遍历问题,可能导致读取项目外部文件以及通过暴露的API功能执行任意脚本。

CVSS 9.8 · Critical EPSS 0.88% · P58

Affected Version Matrix 2

VendorProduct Version RangeStatus
vitest-dev vitest < 3.2.5 affected
>= 4.0.0, < 4.1.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-47429

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Vitest: Arbitrary file can be read and executed when Vitest UI server is listening
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
Vitest 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Vitest vitest是Vitest公司的一款快速的前端测试框架。 Vitest 3.2.5之前版本和4.1.0之前版本存在路径遍历漏洞,该漏洞源于isFileServingAllowed使用不当和路径遍历问题,可能导致读取项目外部文件以及通过暴露的API功能执行任意脚本。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
vitest-dev vitest < 3.2.5 -

II. Public POCs for CVE-2026-47429

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 6101 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-47429

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-47429 (2)

Vendor Advisories for CVE-2026-47429 (1)

Vendor Pages for CVE-2026-47429 (1)

Other References for CVE-2026-47429 (1)

Same Patch Batch · vitest-dev · 2026-07-14 · 3 CVEs total

CVE-2026-53633 9.8 CRITICAL Vitest: Exposed Browser Mode API Can Proxy CDP and Overwrite Config Files, Leading to RCE
CVE-2026-47428 9.6 CRITICAL Vitest browser mode serves unsanitized otelCarrier query parameter as inline script

IV. Related Vulnerabilities

V. Comments for CVE-2026-47429

No comments yet


Leave a comment