High · 7.5 React CVE-2026-112946 GHSA-rq7h-c2jc-7f22 CVE-2026-112947 GHSA-vfpm-58rq-9qcg
Six Vite and launch-editor Vulnerabilities Patched: Command Injection and Path Traversal Risks in Dev Servers
Six vulnerabilities affecting the Vite build tool, the vite-plus package, and the launch-editor utility have been disclosed and fixed. The most severe issues allow OS command injection on Windows development machines or disclosure of files outside the project root on network-accessible dev servers.
By PatchBriefing · ·
Produced automatically from official sources with the help of AI. How we work →
- NVD (NIST) database 1mo ago · view ↗
- GitHub Advisory Database database 1mo ago · view ↗
- NVD (NIST) database 1mo ago · view ↗
- GitHub Advisory Database database 1mo ago · view ↗
- OSV.dev database 1mo ago · view ↗
- OSV.dev database 1mo ago · view ↗
- NVD (NIST) database 1mo ago · view ↗
- GitHub Advisory Database database 1mo ago · view ↗
- OSV.dev database 1mo ago · view ↗
- NVD (NIST) database 1mo ago · view ↗
- GitHub Advisory Database database 1mo ago · view ↗
- OSV.dev database 1mo ago · view ↗
- NVD (NIST) database 1mo ago · view ↗
- GitHub Advisory Database database 1mo ago · view ↗
- OSV.dev database 1mo ago · view ↗
- NVD (NIST) database 4w ago · view ↗
- GitHub Advisory Database database 1mo ago · view ↗
- OSV.dev database 1mo ago · view ↗
AI summary
Six related vulnerabilities have been disclosed across the Vite frontend tooling ecosystem: three affecting launch-editor (a helper library used to open files in a code editor from Node.js) and four affecting Vite itself and the vite-plus package. The issues range from OS command injection on Windows to path traversal and reflected script execution on network-accessible development servers. All six have fixes available in updated package versions.
What happened
Six separate vulnerabilities were disclosed on the same day affecting the Vite ecosystem. Three affect launch-editor, a library that lets Node.js applications open files with line numbers in a code editor: CVE-2026-112943 involves missing escaping of the '%' character on Windows when passing arguments to cmd, CVE-2026-112942 involves a bypass of an existsSync() filename check on Windows that can be chained with the percent-escaping flaw to achieve OS command injection, and CVE-2026-112944 involves argument injection where an attacker-controlled filename starting with a plus or minus sign can be misinterpreted as a command-line flag by certain editors. Three further vulnerabilities affect Vite and the related vite-plus package directly: CVE-2026-112946 and CVE-2026-112947 are path traversal issues that can disclose files outside the permitted project directory on a network-accessible development server, and CVE-2026-112945 is a reflected script execution issue in applications that use custom middleware with Vite's transformIndexHtml function.
Technical cause
The launch-editor issues share a common root in how the library handles filesystem arguments on Windows: CVE-2026-112943 fails to escape the '%' character before passing an argument to cmd, which allows an attacker-controlled environment variable value to be executed. CVE-2026-112942 strips a line-and-column suffix from a path before performing an existsSync() check, allowing a non-existent attacker-controlled file argument to pass validation when the remaining parent directory exists. CVE-2026-112944 forwards an attacker-controlled filename without forcing it to be treated as a positional argument, so editors such as Vim, gVim, MacVim, Emacs, Emacsclient, and certain Notepad++ plugin configurations can interpret a filename beginning with '+' or '-' as a command flag. For Vite itself, CVE-2026-112946 arises because import analysis can record a root-relative browser URL in safeModulePaths instead of the resolved module identifier, which can authorize a later raw-filesystem request for a host file matching that URL. CVE-2026-112947 stems from the internal Wasm plugin's load hook reading a file path directly from disk without applying server.fs checks when the request contains the '?vite-wasm-instance' query string; a failed WebAssembly parse then returns the first four bytes of the file in an error message. CVE-2026-112945 occurs because getHtmlFilename uses a query-bearing request URL to resolve a local file while preserving attacker-supplied leading slashes in a generated proxy module URL, which can cause a victim browser to fetch and execute an attacker-controlled module.
Why it matters
These packages are widely used in JavaScript development workflows, which increases the number of potentially affected systems. The launch-editor flaws can lead to arbitrary command execution on a Windows developer machine, which could compromise source code, credentials, or other local resources. The Vite path traversal issues (CVE-2026-112946, CVE-2026-112947) allow disclosure of files outside the intended project directory when a development server is reachable over the network, which can expose sensitive configuration or source files. The reflected script execution issue (CVE-2026-112945) can expose sensitive page data or allow actions available to the affected application if a victim loads a crafted development-server page. None of these issues are reported as being exploited in the wild, and no public exploit code is referenced in the available facts.
Affected versions
launch-editor: all versions up to and including 2.14.1 are affected by CVE-2026-112943, CVE-2026-112942, and CVE-2026-112944; fixed in 2.14.2. Vite: versions up to and including 6.4.3, and versions from 7.0.0 up to 7.3.6, from 8.0.0 up to 8.1.5, from 8.2.0 up to 8.2.3, and from 8.3.0 up to 8.3.2 are affected by CVE-2026-112946 and CVE-2026-112945; fixed in 6.4.4, 7.3.7, 8.1.6, 8.2.4, and 8.3.3. For CVE-2026-112947, Vite versions from 8.2.0 up to 8.2.3 and from 8.3.0 up to 8.3.2 are affected; fixed in 8.2.4 and 8.3.3. vite-plus: versions up to and including 1.0.0 are affected by CVE-2026-112946 and CVE-2026-112945; fixed in 1.1.0. For CVE-2026-112947, vite-plus versions from 0.2.8 up to 1.0.0 are affected; fixed in 1.1.0.
Fixes and mitigation
Updated versions are available for all six vulnerabilities. launch-editor 2.14.2 addresses CVE-2026-112943, CVE-2026-112942, and CVE-2026-112944. Vite 6.4.4, 7.3.7, 8.1.6, 8.2.4, and 8.3.3 address CVE-2026-112946 and CVE-2026-112945. Vite 8.2.4 and 8.3.3 address CVE-2026-112947. vite-plus 1.1.0 addresses all four Vite-related issues (CVE-2026-112946, CVE-2026-112947, CVE-2026-112945, and the launch-editor-related CVEs where vite-plus bundles the affected launch-editor code).
Recommended action
Update launch-editor to version 2.14.2, Vite to version 6.4.4, 7.3.7, 8.1.6, 8.2.4, or 8.3.3 (depending on your current major/minor line), and vite-plus to version 1.1.0. These packages are typically development-time dependencies; prioritize updating development environments, especially on Windows machines and on any development server that is reachable over a network rather than restricted to localhost.
PatchBriefing score
7.5 / 10 · High
Official CVSS: 7.5
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS 0.0256 (86 percentile)
Why this score
The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.
Affected versions
- vite <= 6.4.3
- vulnerable
- vite ≥ 0 < 6.4.4
- vulnerable
- ≥ 8.3.3
- patched
- ≥ 8.2.4
- patched
- ≥ 8.1.6
- patched
- ≥ 7.3.7
- patched
- ≥ 6.4.4
- patched
- vite-plus <= 1.0.0
- vulnerable
- vite-plus ≥ 0 < 1.1.0
- vulnerable
- ≥ 1.1.0
- patched
- vite >= 8.2.0, <= 8.2.3
- vulnerable
- vite ≥ 8.2.0 < 8.2.4
- vulnerable
- ≥ 8.3.3
- patched
- ≥ 8.2.4
- patched
- vite-plus >= 0.2.8, <= 1.0.0
- vulnerable
- vite-plus ≥ 0.2.8 < 1.1.0
- vulnerable
- ≥ 1.1.0
- patched
- vite <= 6.4.3
- vulnerable
- vite ≥ 0 < 6.4.4
- vulnerable
- ≥ 8.3.3
- patched
- ≥ 8.2.4
- patched
- ≥ 8.1.6
- patched
- ≥ 7.3.7
- patched
- ≥ 6.4.4
- patched
- vite-plus <= 1.0.0
- vulnerable
- vite-plus ≥ 0 < 1.1.0
- vulnerable
- ≥ 1.1.0
- patched
- launch-editor <= 2.14.1
- vulnerable
- launch-editor ≥ 0 < 2.14.2
- vulnerable
- ≥ 2.14.2
- patched
- vite <= 6.4.3
- vulnerable
- vite ≥ 0 < 6.4.4
- vulnerable
- ≥ 8.3.3
- patched
- ≥ 8.2.4
- patched
- ≥ 8.1.6
- patched
- ≥ 7.3.7
- patched
- ≥ 6.4.4
- patched
- vite-plus <= 1.0.0
- vulnerable
- vite-plus ≥ 0 < 1.1.0
- vulnerable
- ≥ 1.1.0
- patched
- launch-editor <= 2.14.1
- vulnerable
- launch-editor ≥ 0 < 2.14.2
- vulnerable
- ≥ 2.14.2
- patched
- vite <= 6.4.3
- vulnerable
- vite ≥ 0 < 6.4.4
- vulnerable
- ≥ 8.3.3
- patched
- ≥ 8.2.4
- patched
- ≥ 8.1.6
- patched
- ≥ 7.3.7
- patched
- ≥ 6.4.4
- patched
- vite-plus <= 1.0.0
- vulnerable
- vite-plus ≥ 0 < 1.1.0
- vulnerable
- ≥ 1.1.0
- patched
- launch-editor <= 2.14.1
- vulnerable
- launch-editor ≥ 0 < 2.14.2
- vulnerable
- ≥ 2.14.2
- patched
- vite <= 6.4.3
- vulnerable
- vite ≥ 0 < 6.4.4
- vulnerable
- ≥ 8.3.3
- patched
- ≥ 8.2.4
- patched
- ≥ 8.1.6
- patched
- ≥ 7.3.7
- patched
- ≥ 6.4.4
- patched
- vite-plus <= 1.0.0
- vulnerable
- vite-plus ≥ 0 < 1.1.0
- vulnerable
- ≥ 1.1.0
- patched
Reported fixes
Updated versions are available for all six vulnerabilities. launch-editor 2.14.2 addresses CVE-2026-112943, CVE-2026-112942, and CVE-2026-112944. Vite 6.4.4, 7.3.7, 8.1.6, 8.2.4, and 8.3.3 address CVE-2026-112946 and CVE-2026-112945. Vite 8.2.4 and 8.3.3 address CVE-2026-112947. vite-plus 1.1.0 addresses all four Vite-related issues (CVE-2026-112946, CVE-2026-112947, CVE-2026-112945, and the launch-editor-related CVEs where vite-plus bundles the affected launch-editor code).
How this was built
18 source records were collected, matched and used to prepare the report above.
-
NVD (NIST) database
-
GitHub Advisory Database database
-
NVD (NIST) database
-
GitHub Advisory Database database
-
OSV.dev database
-
OSV.dev database
Revision history
- Published
- Generated
- Merged
- Published
- Generated
- Published
- Generated