緊急
Vite dev server remote code execution via __vite-browser-external module
CVE-2026-140097
Web developers who open their dev server to the outside can be hacked!
- CVE
- CVE-2026-140097(新しいタブで開きます)
- スコア
- CVSS 9.1
- 初確認
対処法
Update to the fixed version for your Vite or vite-plus line. Find your product's fixed version in the list below.
製品別の修正バージョン
- vite 6
- 6.4.6 以降
- vite 7
- 7.3.8 以降
- vite 8.1
- 8.1.7 以降
- vite 8.2
- 8.2.5 以降
- vite 8.3
- 8.3.7 以降
- vite-plus
- 1.5.1 以降
あと1行を表示閉じる
要約
The Vite dev server puts request-derived module names into generated code without escaping, so an unauthenticated remote attacker can read server files or run code on the server. Vite and vite-plus users whose dev server is exposed to the network are affected.
該当する条件
dev server exposed to the network (--host or server.host config)
勧告を読む · github.com(新しいタブで開きます)
- セキュリティ勧告: github.com(新しいタブで開きます)
- CVE レコード: cve.org(新しいタブで開きます)
- 議論: Vite Remote Code Execution(新しいタブで開きます)
- KISA 告知: KISA 보호나라: Vite 제품 보안 업데이트 권고(新しいタブで開きます)