9.1

CVE-2026-140097: Vite: Remote code execution using `__vite-browser-external` virtual module

Received
Published 30-11-2026Last modified 01-12-2026

Vulnerability summary

CVE-2026-140097 is a critical (CVSS 9.1) Improper Encoding or Escaping of Output vulnerability in vitejs vite. EPSS estimates a 1.83% chance of exploitation in the next 30 days, higher than 79.6% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 9.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
9.1/10
010
Critical · v4.0 (CVE.org)
EPSS score
1.83%
0%100%
Low · Change unavailable
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 30-11-2026
    PublishedVulnerability first disclosed.
  2. 01-12-2026
    Last modifiedVulnerability information updated.

Description

Vite is a frontend tooling framework for JavaScript. From 4.0.0 until 6.4.6, 7.3.8, 8.1.7, 8.2.5, and 8.3.7 in Vite, and prior to 1.5.1 in vite-plus, a network-exposed development server embeds request-derived module identifiers from the __vite-browser-external:<suffix> and __vite-optional-peer-dep:<suffix> virtual modules into trusted generated JavaScript without escaping. A remote unauthenticated attacker can inject an import that adds an outside file to the server.fs module allow list and can reach server-side evaluation through new Worker or import.meta.glob processing, allowing disclosure of local files and arbitrary code execution in the development-server process. This issue is fixed in Vite 6.4.6, 7.3.8, 8.1.7, 8.2.5, and 8.3.7, and in vite-plus 1.5.1.

CVSS metrics

2 scores · 2 sources · 1 version

EPSS trend

Probability

1.83%

Chance of exploitation in the next 30 days

Percentile

80%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

01-12-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Vitejs2 products
  • vite≥ 4.0.0, < 6.4.6 | ≥ 7.0.0, < 7.3.8 | ≥ 8.0.0, < 8.1.7 | ≥ 8.2.0, < 8.2.5 | ≥ 8.3.0, < 8.3.7
  • vite-plus< 1.5.1

1 vendor · 2 products

References

16 links
Show all 16 references