CNVD-2026-43182
Vulnerability from cnvd - Published: 2026-10-30
VLAI
Title
Vite和Vite-plus任意文件读取漏洞
Description
Vite是一款新一代前端构建工具。Vite-plus是一个统一的前端开发工具链。
Vite存在任意文件读取漏洞,该漏洞源于开发服务器的WebSocket连接未能正确验证Origin头,攻击者可利用该漏洞通过vite:invoke事件调用fetchModule函数,结合file://协议和特定查询参数,以JavaScript字符串形式读取服务器上的任意文件。
Severity
高
Patch Name
Vite和Vite-plus任意文件读取漏洞的补丁
Patch Description
Vite是一款新一代前端构建工具。Vite-plus是一个统一的前端开发工具链。
Vite存在任意文件读取漏洞,该漏洞源于开发服务器的WebSocket连接未能正确验证Origin头,攻击者可利用该漏洞通过vite:invoke事件调用fetchModule函数,结合file://协议和特定查询参数,以JavaScript字符串形式读取服务器上的任意文件。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description
目前厂商已发布升级程序修复该安全问题,详情见厂商官网: https://github.com/vitejs/vite/security/advisories/GHSA-p9ff-h696-f583
Reference
https://nvd.nist.gov/vuln/detail/cve-2026-39363
Impacted products
| Name | ['Vite Vite >=8.0.0, <8.0.5', 'Vite Vite >=7.0.0, <7.3.2', 'Vite Vite >=6.0.0, <6.4.2', 'Vite vite-plus <0.1.16'] |
|---|
{
"cves": {
"cve": {
"cveNumber": "CVE-2026-39363",
"cveUrl": "https://nvd.nist.gov/vuln/detail/CVE-2026-39363"
}
},
"description": "Vite\u662f\u4e00\u6b3e\u65b0\u4e00\u4ee3\u524d\u7aef\u6784\u5efa\u5de5\u5177\u3002Vite-plus\u662f\u4e00\u4e2a\u7edf\u4e00\u7684\u524d\u7aef\u5f00\u53d1\u5de5\u5177\u94fe\u3002\n\nVite\u5b58\u5728\u4efb\u610f\u6587\u4ef6\u8bfb\u53d6\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u5f00\u53d1\u670d\u52a1\u5668\u7684WebSocket\u8fde\u63a5\u672a\u80fd\u6b63\u786e\u9a8c\u8bc1Origin\u5934\uff0c\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u901a\u8fc7vite:invoke\u4e8b\u4ef6\u8c03\u7528fetchModule\u51fd\u6570\uff0c\u7ed3\u5408file://\u534f\u8bae\u548c\u7279\u5b9a\u67e5\u8be2\u53c2\u6570\uff0c\u4ee5JavaScript\u5b57\u7b26\u4e32\u5f62\u5f0f\u8bfb\u53d6\u670d\u52a1\u5668\u4e0a\u7684\u4efb\u610f\u6587\u4ef6\u3002",
"formalWay": "\u76ee\u524d\u5382\u5546\u5df2\u53d1\u5e03\u5347\u7ea7\u7a0b\u5e8f\u4fee\u590d\u8be5\u5b89\u5168\u95ee\u9898\uff0c\u8be6\u60c5\u89c1\u5382\u5546\u5b98\u7f51:\r\nhttps://github.com/vitejs/vite/security/advisories/GHSA-p9ff-h696-f583",
"isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
"number": "CNVD-2026-43182",
"openTime": "2026-10-30",
"patchDescription": "Vite\u662f\u4e00\u6b3e\u65b0\u4e00\u4ee3\u524d\u7aef\u6784\u5efa\u5de5\u5177\u3002Vite-plus\u662f\u4e00\u4e2a\u7edf\u4e00\u7684\u524d\u7aef\u5f00\u53d1\u5de5\u5177\u94fe\u3002\r\n\r\nVite\u5b58\u5728\u4efb\u610f\u6587\u4ef6\u8bfb\u53d6\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u5f00\u53d1\u670d\u52a1\u5668\u7684WebSocket\u8fde\u63a5\u672a\u80fd\u6b63\u786e\u9a8c\u8bc1Origin\u5934\uff0c\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u901a\u8fc7vite:invoke\u4e8b\u4ef6\u8c03\u7528fetchModule\u51fd\u6570\uff0c\u7ed3\u5408file://\u534f\u8bae\u548c\u7279\u5b9a\u67e5\u8be2\u53c2\u6570\uff0c\u4ee5JavaScript\u5b57\u7b26\u4e32\u5f62\u5f0f\u8bfb\u53d6\u670d\u52a1\u5668\u4e0a\u7684\u4efb\u610f\u6587\u4ef6\u3002\u76ee\u524d\uff0c\u4f9b\u5e94\u5546\u53d1\u5e03\u4e86\u5b89\u5168\u516c\u544a\u53ca\u76f8\u5173\u8865\u4e01\u4fe1\u606f\uff0c\u4fee\u590d\u4e86\u6b64\u6f0f\u6d1e\u3002",
"patchName": "Vite\u548cVite-plus\u4efb\u610f\u6587\u4ef6\u8bfb\u53d6\u6f0f\u6d1e\u7684\u8865\u4e01",
"products": {
"product": [
"Vite Vite \u003e=8.0.0, \u003c8.0.5",
"Vite Vite \u003e=7.0.0, \u003c7.3.2",
"Vite Vite \u003e=6.0.0, \u003c6.4.2",
"Vite vite-plus \u003c0.1.16"
]
},
"referenceLink": "https://nvd.nist.gov/vuln/detail/cve-2026-39363",
"serverity": "\u9ad8",
"submitTime": "2026-04-08",
"title": "Vite\u548cVite-plus\u4efb\u610f\u6587\u4ef6\u8bfb\u53d6\u6f0f\u6d1e"
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…