Patch Ticker
EnglishEN
Urgent

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 (opens in a new tab)
Score
CVSS 9.1
First seen
9.1
Products

Mitigation

Update to the fixed version for your Vite or vite-plus line. Find your product's fixed version in the list below.

Fixed version by product

vite 6
6.4.6 or later
vite 7
7.3.8 or later
vite 8.1
8.1.7 or later
vite 8.2
8.2.5 or later
vite 8.3
8.3.7 or later
vite-plus
1.5.1 or later
1 moreShow less

Summary

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.

Affected when

dev server exposed to the network (--host or server.host config)

1 other Incident of this product in the last 30 days

Incidents by product: vite-plus · vite

All Incidents of 2026-11-19

Read the advisory · github.com (opens in a new tab)