CVE-2026-137191: Vite+: Code Execution via an Unverified Package Manager Download from a Repository-Named Registry
Published 2026-12-01 · Updated 2026-12-01 · Also known as GHSA-5qr3-w62x-jmwx
Summary
Vite+ downloads and executes a pinned package manager from an unverified repository-defined registry without digest checking during initial setup or upgrade. Engineering teams using Vite+ should upgrade to the fixed version immediately.
Who is affected
Affected deployments include any environment running Vite+ versions 0.2.9 through 1.4.0 where a user or CI runner clones a repository containing a malicious `.npmrc` file and executes the `vp` command prior to completion of setup. An attacker can achieve arbitrary code execution under the privileges of the developer or build account, potentially accessing sensitive credentials and tokens. The vulnerability requires that setup has not yet completed and the pinned manager is not already cached.
Exploitability
The vulnerability is locally exploitable with low attack complexity and requires no privileges, but relies on user interaction to clone and execute a command within a repository containing a crafted configuration. It impacts confidentiality, integrity, and availability with a CVSS base score of 7.8 (High). EPSS is not yet available and CISA KEV status is no.
Remediation
- Upgrade the vite-plus package to version 1.5.1 or later.
- Ensure that local project repositories do not contain untrusted or unauthorized `.npmrc` configuration overrides when initializing or upgrading Vite+.
How to check your project
- Inspect project dependency definitions or lockfiles to check if the npm package 'vite-plus' falls within the affected version range of 0 through 1.5.1 (specifically 0.2.9 to 1.4.0).
- Audit local environments and CI/CD runners for the global `vp` command line interface version.
Automated analysis of the published advisory data, generated 2026-12-01. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| npm | vite-plus |
>= 0, < 1.5.1 | 1.5.1 | npm install [email protected] |
CVSS 3.1 vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
| Attack vector | Local |
|---|---|
| Attack complexity | Low |
| Privileges required | None |
| User interaction | Required |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity | High |
| Availability | High |
FAQ
What causes the code execution vulnerability in Vite+?
Vite+ downloads the pnpm build it pins for internal use from a registry specified by the project directory's configuration without verifying any digest or restricting the host.
What conditions are required for an attacker to exploit this flaw?
The target must clone a repository with a malicious `.npmrc` file, run a command like `vp --version` before setup has completed, and the pinned manager must not already be cached.
How can this vulnerability be resolved?
Engineering teams must update the vite-plus package to version 1.5.1 or later.
Original advisory description
References
- WEB https://github.com/voidzero-dev/vite-plus/security/advisories/GHSA-5qr3-w62x-jmwx
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-137191
- WEB https://github.com/voidzero-dev/vite-plus/pull/3400
- WEB https://github.com/voidzero-dev/vite-plus/commit/a1109777d5330fc1a818c5b23d131c3b8a2362bc
- PACKAGE https://github.com/voidzero-dev/vite-plus
- WEB https://github.com/voidzero-dev/vite-plus/releases/tag/v1.5.1
Source records: GHSA-5qr3-w62x-jmwx (OSV.dev).