Vite+: Code Execution via an Unverified Package Manager Download from a Repository-Named Registry
CVE-2026-137191
Summary A newly installed or upgraded Vite+ downloads the pnpm build it pins for internal use and executes it without comparing any digest (CWE-494). That happens before anything else, because Vite+ installs its own dependencies first, and it takes its registry from configuration inside the project directory. One line of .npmrc in a cloned repository therefore makes Vite+ fetch a package manager from a server the repository author operates and run it, on a command as innocuous as vp --version, with no script in the repository. Execution precedes dependency installation, so build-script approval never applies. Details The third argument of the download call is the expected hash, and the literal absent value is passed: rust let (pnpmdir, , ) = downloadpackagemanager(PackageManagerType::Pnpm, PINNEDPNPMVERSION, None) // vpsetup/src/install.rs:294 Two things turn that absent hash into code execution. First, the check is skipped rather than failed. The download helper compares a digest only when one is supplied, on both of its branches, so passing nothing means no comparison happens at all and the download still succeeds (vppmcli/src/request.rs:563-568). Second, the registry is chosen…
Assessment
- CVSS
- 7.8 (v3.1)
- Severity
- High
- EPSS
- 0% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 1 December 2026
- Last updated
- 1 December 2026
- Affected
- voidzero-dev · vite-plus · vite-plus
- Weakness
- CWE-494, CWE-829
- Assigner
- GitHub_M
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
At the source
References
- https://github.com/voidzero-dev/vite-plus/security/advisories/GHSA-5qr3-w62x-jmwx
- https://nvd.nist.gov/vuln/detail/CVE-2026-137191
- https://github.com/voidzero-dev/vite-plus/pull/3400
- https://github.com/voidzero-dev/vite-plus/commit/a1109777d5330fc1a818c5b23d131c3b8a2362bc
- https://github.com/voidzero-dev/vite-plus/releases/tag/v1.5.1
- https://github.com/advisories/GHSA-5qr3-w62x-jmwx
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-137191