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.
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-p79r-mf8q-r78h Vite+: Shell Command Injection via an Unvalidated Registry Version String
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 01 Dec 2026 20:30:00 +0000

Type Values Removed Values Added
First Time appeared Voidzero-dev
Voidzero-dev vite-plus
Vendors & Products Voidzero-dev
Voidzero-dev vite-plus

Mon, 30 Nov 2026 19:15:00 +0000

Type Values Removed Values Added
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.
Title Vite+: Shell Command Injection via an Unvalidated Registry Version String
Weaknesses CWE-78
CWE-95
References
Metrics cvssV3_1

{'score': 7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-12-01T19:09:33.545Z

Reserved: 2026-11-25T21:33:08.027Z

Link: CVE-2026-137190

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-30T21:17:24.740

Modified: 2026-12-01T20:18:49.627

Link: CVE-2026-137190

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-12-01T20:15:02Z

Weaknesses