Vite+: Shell Command Injection via an Unvalidated Registry Version String
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
Vite+ from 0.3.3 before 1.5.1 places 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 redirect the latest dist-tag lookup to an attacker-controlled registry, and a returned value containing shell syntax reaches the shell wrapper unchecked. A developer with the documented shell integration who runs vp env use with --no-install can run attacker-supplied commands with their account's permissions. The ordinary installation path rejects invalid versions.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| voidzero-dev | vite-plus | 0.3.3 to before 1.5.1 | 1.5.1 | Patch available | CNA |
| — | vite-plus (npm) | 0.3.3 to before 1.5.1 | 1.5.1 | Patch available | GHSA-p79r-mf8q-r78h |
- vite-plus Vendorvoidzero-dev Affected 0.3.3 to before 1.5.1 Fixed in 1.5.1 Patch available CNA
- vite-plus (npm) Vendor— Affected 0.3.3 to before 1.5.1 Fixed in 1.5.1 Patch available GHSA-p79r-mf8q-r78h
Remediation
Upgrade vite-plus to version 1.5.1, which contains the fix.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
- Fix · CNA vite-plus (voidzero-dev) Fixed in 1.5.1
- Fix · GHSA-p79r-mf8q-r78h vite-plus (npm) Fixed in 1.5.1 Advisory →
Timeline
- 2026-11-30 Threatist record created from CVE-2026-137190
- 2026-12-01 Alias added: GHSA-p79r-mf8q-r78h
- 2026-12-01 Fix available: npm/[email protected] · GHSA-p79r-mf8q-r78h
- 2026-12-01 CVSS score added · GHSA-p79r-mf8q-r78h
- 2026-12-01 Weakness changed · GHSA-p79r-mf8q-r78h
- 2026-12-01 6 new references · GHSA-p79r-mf8q-r78h
References
Other 5
- https://github.com/voidzero-dev/vite-plus/security/advisories/GHSA-p79r-mf8q-r78h
- https://github.com/voidzero-dev/vite-plus/pull/3395
- https://github.com/voidzero-dev/vite-plus/commit/92edd550cf8d801d040fa3559aae906e8fa42dab
- https://github.com/voidzero-dev/vite-plus/releases/tag/v1.5.1
- https://github.com/voidzero-dev/vite-plus
More voidzero-dev vulnerabilities
- TI-2026-101178 Unverified pnpm download in Vite+ lets attackers run code CVSS 3.1HIGH 7.8
Sources
- CVE-2026-137190 · CVE Program
- CVE-2026-137190 · NVD
- GHSA-p79r-mf8q-r78h · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences