CVE-2026-137191 — Voidzero-dev Vite-plus — CWE-494 · CWE-829
## 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 (pnpm_dir, _, _) = download_package_manager(PackageManagerType::Pnpm, PINNED_PNPM_VERSION, None) // vp_setup/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 (`vp_pm_cli/src/request.rs:563-568`). Second, the registry is chosen by the repository. Vite+ reads npm configuration relative to the working directory, so an `.npmrc` committed at the root of a cloned project is loaded as the project layer and applied last, which lets it win over any user or global setting. Its `regis
## 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 (pnpm_dir, _, _) = download_package_manager(PackageManagerType::Pnpm, PINNED_PNPM_VERSION, None) // vp_setup/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 (`vp_pm_cli/src/request.rs:563-568`). Second, the registry is chosen by the repository. Vite+ reads npm configuration relative to the working directory, so an `.npmrc` committed at the root of a cloned project is loaded as the project layer and applied last, which lets it win over any user or global setting. Its `regis
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-137191
CVSS 7.8/10 · HIGH · 30.11.2026
CWE: CWE-494, CWE-829
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IS THIS VULNERABILITY?
Summary: ## 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 …
Affected: voidzero-dev vite-plus
⚡ ATTACK VECTOR
Local/physical access (AV:L) · no authentication required (PR:N) · user interaction required (UI:R) · low attack complexity (AC:L).
🌍 REAL WORLD IMPACT
All confidential data readable/stealable; data can be modified or deleted; service can be completely taken down.
🛡️ REMEDIATION
→ Apply vendor security update for voidzero-dev vite-plus.
→ Add WAF rule, create IDS alert for anomalous traffic.
⚠️ URGENCY
⚠️ Planned maintenance (2 weeks).
────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]
FOFA Query