CVE-2026-137191: Vite+: Code Execution via an Unverified Package Manager Download from a Repository-Named Registry
Vite+ is a unified toolchain and entry point for web development. From 0.2.9 until 1.5.1, the global vp setup path downloads the pinned pnpm package manager through downloadpackagemanager and executes it without comparing the bytes to a trusted digest. A cloned repository's .npmrc can select an attacker-controlled registry, allowing substituted pnpm bytes to run before dependency installation or build-script approval during a new installation, upgrade, or ephemeral CI setup when the manager is not already cached. The resulting code executes as the developer or build account and can read credentials and files available to that account, modify writable resources, or disrupt installs and builds. Verification of the Vite+ release archive does not cover this separate managed package-manager download. This issue is fixed in version 1.5.1.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.5.1
Event History
Frequently Asked Questions
Which environments are exposed during normal development or CI use?
Affected Vite+ versions are 0.2.9 through versions before 1.5.1. Exposure occurs when global vp setup needs to download the pinned pnpm manager, including new installations, upgrades, and ephemeral CI environments where that manager is not already cached.
What does an attacker need to trigger code execution?
The attacker needs a cloned repository whose .npmrc causes package-manager retrieval from an attacker-controlled registry. A user or build process must then run the setup path while the required package manager is absent from the local cache.
Does verifying the Vite+ release archive prevent this issue?
No. Release-archive verification does not verify the separately downloaded managed package-manager bytes.
What can be done if an immediate upgrade is not possible?
Avoid running the global vp setup path against repositories that select untrusted registries through .npmrc. The described download-and-execution path is not reached when the package manager is already cached, but upgrading to 1.5.1 is the stated fix.