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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-118662— Vite: `server.fs.deny` bypassed with queries

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 到 6.4.5 之间,Vite 开发服务器会在剥离加载器查询参数(如 、 或 )之前,先评估 配置。如果开发服务器暴露在网络中,且某个敏感文件位于 范围内但被 匹配,则未认证的攻击者可以附加上述查询参数之一,从而获取本应被禁止访问的文件。该问题已在版本 6.4.5 中修复。

CVSS 6.9 · Medium EPSS 0.29% · P22

Affected Version Matrix 1

VendorProduct Version RangeStatus
vitejs vite >= 6.4.4, < 6.4.5 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-118662

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: `server.fs.deny` bypassed with queries
Source: CVE Program / CVE List V5
Vulnerability Description
Vite is a frontend tooling framework for JavaScript. From 6.4.4 until 6.4.5, the Vite development server can evaluate server.fs.deny before stripping loader query parameters such as ?raw, ?import&raw, or ?import&url&inline. When the development server is exposed to the network and a sensitive file is inside server.fs.allow but matched by server.fs.deny, an unauthenticated attacker can append one of these queries and retrieve the denied file. This issue is fixed in version 6.4.5.
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:H/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 >= 6.4.4, < 6.4.5 -

II. Public POCs for CVE-2026-118662

# 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-118662

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

Patches & Fixes for CVE-2026-118662 (3)

Vendor Advisories for CVE-2026-118662 (1)

Vendor Pages for CVE-2026-118662 (1)

IV. Related Vulnerabilities