Vite+: Shell Command Injection via an Unvalidated Registry Version String
CVE-2026-137190GHSA-p79r-mf8q-r78hPublished 30 Nov 2026, 20:13 UTC
Real-world risk
1.5/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.0
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
Vite+ is a unified toolchain and entry point for web development. From 0.3.3 until 1.5.1, the global vp command line interface's vp env use path can place an unvalidated package-manager version from a repository-selected registry into generated shell export statements. When no project file selects a version, a cloned repository's .npmrc can direct the latest dist-tag lookup to an attacker-controlled registry, and a returned value containing shell syntax reaches the shell wrapper without strict semver validation or safe neutralization. A developer with the documented shell integration who runs vp env use with --no-install can therefore execute attacker-supplied commands with the developer account's permissions, permitting access to readable credentials and modification of writable files. The ordinary installation path rejects invalid versions, so the issue is limited to the affected dist-tag consumer and its stated prerequisites. This issue is fixed in version 1.5.1.
Am I affected?
What to do
Update to a fixed version: 1.5.1.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 0.5% chance of exploitation in 30 days (percentile 41), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.158
- Threat T3: Public proof of concept0.950
- 10 × impact 1 × prerequisites 0.1575 × threat 0.951.496
- Rounded to one decimal between 0.1 and 101.5
Exploitation and evidence timeline
- 30 Nov 2026 Published
- 2 Dec 2026 Reference tagged as exploit first seen
- 2 Dec 2026 CISA SSVC: proof of concept first seen
- 2 Dec 2026 Risk 1.5 (cvss fallback)
Weakness
CWE-78, CWE-95
References
- https://github.com/voidzero-dev/vite-plus/security/advisories/GHSA-p79r-mf8q-r78hexploit, vendor-advisory
- https://github.com/voidzero-dev/vite-plus/pull/3395misc
- https://github.com/voidzero-dev/vite-plus/commit/92edd550cf8d801d040fa3559aae906e8fa42dabmisc
- https://github.com/voidzero-dev/vite-plus/releases/tag/v1.5.1misc
- https://nvd.nist.gov/vuln/detail/CVE-2026-137190
- https://github.com/advisories/GHSA-p79r-mf8q-r78h
- CVE-2026-137190 on CVE.org