Vite+: Shell Command Injection via an Unvalidated Registry Version String
Summary
| CVE | CVE-2026-137190 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 21:17:24 UTC |
| Updated | 2026-11-30 21:17:24 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 7 HIGH from [email protected]
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Problem Types: CWE-78 | CWE-95 | CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command | CWE-95 CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 7 | HIGH | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 7 | HIGH | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
HighPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Voidzero-dev | Vite-plus | affected >= 0.3.3, < 1.5.1 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/voidzero-dev/vite-plus/commit/92edd550cf8d801d040fa3559aae906... | [email protected] | github.com | |
| github.com/voidzero-dev/vite-plus/pull/3395 | [email protected] | github.com | |
| github.com/voidzero-dev/vite-plus/security/advisories/GHSA-p79r-mf8q-r78h | [email protected] | github.com | |
| github.com/voidzero-dev/vite-plus/releases/tag/v1.5.1 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.