Read the docs

Vite+: Shell Command Injection via an Unvalidated Registry Version String

Priority MEDIUM 46CWE-78Published · Updated

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

Fix Fixed vite-plus (voidzero-dev): 1.5.1vite-plus (npm): 1.5.1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
voidzero-devvite-plus0.3.3 to before 1.5.11.5.1Patch availableCNA
—vite-plus (npm)0.3.3 to before 1.5.11.5.1Patch availableGHSA-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

  1. 2026-11-30 Threatist record created from CVE-2026-137190
  2. 2026-12-01 Alias added: GHSA-p79r-mf8q-r78h
  3. 2026-12-01 Fix available: npm/[email protected] · GHSA-p79r-mf8q-r78h
  4. 2026-12-01 CVSS score added · GHSA-p79r-mf8q-r78h
  5. 2026-12-01 Weakness changed · GHSA-p79r-mf8q-r78h
  6. 2026-12-01 6 new references · GHSA-p79r-mf8q-r78h

References

  • TI-2026-101178 Unverified pnpm download in Vite+ lets attackers run code CVSS 3.1HIGH 7.8

Sources