Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-140097

published critical CVSS 4.0 · 9.1

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

Published
30 Nov 2026, 22:25:25 UTC
Updated
01 Dec 2026, 14:55:51 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
vitejs — 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 Affected Not stated GitHub_M
vitejs — vite-plus< 1.5.1 Affected Not stated GitHub_M

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
9.1 / 10
Severity
critical
Provider
GitHub_M · cna
Vector string
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
vitejs vite >= 4.0.0, < 6.4.6 (affected)>= 7.0.0, < 7.3.8 (affected)>= 8.0.0, < 8.1.7 (affected)>= 8.2.0, < 8.2.5 (affected)>= 8.3.0, < 8.3.7 (affected) GitHub_M · cna
vitejs vite-plus < 1.5.1 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-116 CWE-116: Improper Encoding or Escaping of Output (GitHub_M · cna)

References

16

Provider assertions

2

GitHub_M · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
09e9116e83372b0fec791aefc206f1b7e84946c7670f825ac937ab353cd1f553
Ingested
01 Dec 2026, 15:02:23 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected