Vite+: Shell Command Injection via an Unvalidated Registry Version String
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.
Affected Packages
No package information available.
Bump vite-plus from 1.4.0 to 1.5.1 in the security group across 1 directory
Open about 11 hours agobuild(deps): bump the npm_and_yarn group across 6 directories with 1 update
Open about 11 hours agoBump vite-plus from 0.2.7 to 1.5.1
Open about 11 hours agoActions
Advisory Details
| Published: | November 30, 2026 about 17 hours ago |
| Updated: | December 01, 2026 about 11 hours ago |
| CVSS Score: | 7.0 CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Source: | Osv |
| UUID: | CVE-2026-137190 |
PR Statistics
References
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137190.json
- https://github.com/voidzero-dev/vite-plus/commit/92edd550cf8d801d040fa3559aae906e8fa42dab
- https://github.com/voidzero-dev/vite-plus/pull/3395
- https://github.com/voidzero-dev/vite-plus/releases/tag/v1.5.1
- https://github.com/voidzero-dev/vite-plus/security/advisories/GHSA-p79r-mf8q-r78h
- https://nvd.nist.gov/vuln/detail/CVE-2026-137190