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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-112946— Vite: Files outside `server.fs.allow` could be served when project paths match system paths on non-Windows machine

Quick assessment

Affected
vitejs vite
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Vite 是一个用于 JavaScript 的前端工具框架。在版本 6.4.4、7.3.7、8.1.6、8.2.4 和 8.3.3 之前,其导入分析功能可能将根路径相关的浏览器 URL 记录到 中,而非经过清理解析后的模块标识符。在网络可访问且非 Windows 系统的开发服务器上,若某个被导入的项目文件的 URL 与某个绝对主机路径匹配,则可能授权后续对该主机文件的原始文件系统请求(前提是 未阻止该请求)。该请求可泄露项目根目录之外的匹配文件,但无法实现任意路径遍历,因为主机路径必须对应由应用图授权的项目相对 U

CVSS 6.3 · Medium

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-112946

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
Vite: Files outside `server.fs.allow` could be served when project paths match system paths on non-Windows machine
Source: CVE Program / CVE List V5
Vulnerability Description
Vite is a frontend tooling framework for JavaScript. Prior to 6.4.4, 7.3.7, 8.1.6, 8.2.4, and 8.3.3, import analysis can record a root-relative browser URL in safeModulePaths instead of the cleaned resolved module identifier. On a network-accessible, non-Windows development server, an imported project file whose URL matches an absolute host path can authorize a later raw-filesystem request for that host file, provided server.fs.deny does not block it. The request can disclose the matching file outside the project root, but it does not allow arbitrary path traversal because the host path must correspond to a project-relative URL authorized by the application graph. This issue is fixed in versions 6.4.4, 7.3.7, 8.1.6, 8.2.4, and 8.3.3.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
vitejs vite >= 8.3.0, < 8.3.3 -
vitejs vite-plus < 1.1.0 -

II. Public POCs for CVE-2026-112946

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-112946

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

Other References for CVE-2026-112946 (7)

Same Patch Batch · vitejs · 2026-10-20 · 6 CVEs total

CVE-2026-112942 7.5 HIGH launch-editor: `fs.existsSync()` existence check can be bypassed on Windows
CVE-2026-112944 6.3 MEDIUM launch-editor: Editor CLI flag misinterpretation causing arbitrary command execution for s
CVE-2026-112943 6.3 MEDIUM launch-editor: escapeCmdArgs() omits % escaping on Windows
CVE-2026-112947 6.3 MEDIUM Vite: First 4 bytes of files outside of `server.fs` setting is exposed by `?vite-wasm-inst
CVE-2026-112945 2.1 LOW Vite: Cross origin script execution through Vite custom middleware

IV. Related Vulnerabilities

V. Comments for CVE-2026-112946

No comments yet


Leave a comment