CVE-2026-137191: Vite+: Code Execution via an Unverified Package Manager Download from a Repository-Named Registry
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.
References
- github.com/advisories/GHSA-5qr3-w62x-jmwx
- github.com/voidzero-dev/vite-plus/commit/a1109777d5330fc1a818c5b23d131c3b8a2362bc
- github.com/voidzero-dev/vite-plus/pull/3400
- github.com/voidzero-dev/vite-plus/releases/tag/v1.5.1
- github.com/voidzero-dev/vite-plus/security/advisories/GHSA-5qr3-w62x-jmwx
- nvd.nist.gov/vuln/detail/CVE-2026-137191
Code Behaviors & Features
Detect and mitigate CVE-2026-137191 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →