CVE-2026-137190
HIGH 7.0CVSS 3.1Vite+: 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.
- Published
- 30 Nov 2026
- Last modified
- 1 Dec 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Received
- Weakness
- CWE-78CWE-95
- Also known as
- GHSA-p79r-mf8q-r78h
- Sources
- NVDJSONCVE ListJSONOSV GHSA-p79r-mf8q-r78hJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| CVE List | GitHub_M | CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | voidzero-dev | vite-plus | = >= 0.3.3, < 1.5.1 | |
| OSV | npm | vite-plus | >= 0.3.3, < 1.5.1 | 1.5.1 |
References
- https://github.com/voidzero-dev/vite-plus/commit/92edd550cf8d801d040fa3559aae906e8fa42dab · x_refsource_MISC, WEB
- https://github.com/voidzero-dev/vite-plus/pull/3395 · x_refsource_MISC, WEB
- https://github.com/voidzero-dev/vite-plus/releases/tag/v1.5.1 · x_refsource_MISC, WEB
- https://github.com/voidzero-dev/vite-plus/security/advisories/GHSA-p79r-mf8q-r78h · x_refsource_CONFIRM, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-137190 · ADVISORY
- https://github.com/voidzero-dev/vite-plus · PACKAGE
History
- 1 Dec 2026 20:28 UTC · NVD: 1 reference added
- 1 Dec 2026 19:30 UTC · CVE List: updated (other details)
- 1 Dec 2026 02:34 UTC · OSV: first stored (published 1 Dec 2026)
- 30 Nov 2026 21:25 UTC · NVD: first stored (published 30 Nov 2026)
- 30 Nov 2026 20:17 UTC · CVE List: first stored (published 30 Nov 2026)