
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-137191 is a code execution vulnerability in Vite+ (vite-plus), a unified web development toolchain by VoidZero Inc., caused by downloading and executing the pinned pnpm package manager without integrity verification. Affecting versions 0.2.9 through 1.5.0 (inclusive), the flaw allows an attacker who controls a repository's .npmrc to redirect the pnpm download to an attacker-controlled registry, resulting in arbitrary code execution. The vulnerability was discovered and reported by researcher arkmarta, first published on November 9, 2026, and publicly disclosed on November 30, 2026. It carries a CVSS v3.1 base score of 7.8 (High) (GitHub Advisory, VoidZero Advisory).
The root cause is classified as CWE-494 (Download of Code Without Integrity Check) and CWE-829 (Inclusion of Functionality from Untrusted Control Sphere). In vp_setup/src/install.rs:294, the download_package_manager function is called with None as the expected hash argument, meaning the download helper in vp_pm_cli/src/request.rs:563-568 skips digest comparison entirely rather than failing — the download succeeds unconditionally. Compounding this, Vite+ resolves npm configuration relative to the current working directory (vp_pm_cli/src/config.rs:50-112), so a .npmrc file committed at the root of a cloned repository is loaded as the project-layer configuration and takes precedence over user or global settings, allowing an attacker to specify an arbitrary registry URL with no scheme or host restriction. The downloaded tarball's entry point (bin/pnpm.cjs) is then executed directly by Vite+ (vp_setup/src/install.rs:301-380) before any dependency installation or build-script approval occurs. Notably, Vite+ does verify its own release archive, making this an internal inconsistency rather than a missing capability (VoidZero Advisory, GitHub Advisory).
Successful exploitation results in arbitrary code execution with the privileges of the developer or CI build account that invoked the vp command. The attacker can read any credentials, tokens, or files accessible to that account, modify writable resources, and disrupt installs and builds. The attack is particularly dangerous in ephemeral CI/CD environments (e.g., GitHub Actions runners) where setup has not yet completed and the pnpm cache is empty — conditions that apply to every new install, every upgrade, and every fresh CI runner (VoidZero Advisory, GitHub Advisory).
A proof-of-concept exploit is publicly documented in the GitHub Security Advisory, demonstrating the full attack chain with bash commands and expected output. The PoC shows that running vp --version inside a repository containing a malicious .npmrc triggers a single request to the attacker's registry (GET /pnpm/-/pnpm-10.34.7.tgz) and executes the substituted payload. No authentication or elevated privileges are required from the attacker; only user interaction (cloning and running a vp command) is needed. The EPSS score is 0.0 at time of publication, and there is no evidence of in-the-wild exploitation or CISA KEV catalog listing as of the disclosure date (VoidZero Advisory, GitHub Advisory).
/pnpm/-/pnpm-10.34.7.tgz with a crafted npm tarball. The tarball contains a package/bin/pnpm.cjs script with the malicious payload (e.g., writing a marker file, exfiltrating credentials, or establishing a reverse shell)..npmrc file at the root pointing to the attacker-controlled registry:printf 'registry=%s\n' "$REG" > victim-repo/.npmrc
printf '{"name":"demo-app","version":"1.0.0","private":true}\n' > victim-repo/package.jsonvp command (e.g., vp --version, vp install) inside the cloned repository on a fresh or upgraded Vite+ installation where pnpm is not yet cached..npmrc, resolves the registry to the attacker's server, and issues GET /pnpm/-/pnpm-10.34.7.tgz without any integrity check.bin/pnpm.cjs as the invoking user account, achieving arbitrary code execution before any dependency installation or build-script approval (VoidZero Advisory, GitHub Advisory)./pnpm/-/pnpm-10.34.7.tgz (or other pnpm version tarballs) during a vp command invocation; DNS lookups for non-standard npm registry domains originating from the build environment..npmrc file in a cloned repository root containing a registry= entry pointing to an external or unfamiliar host; unexpected files written to the Vite+ home directory (VP_HOME) or adjacent paths by the pnpm bootstrap process; marker files or scripts created in writable directories by the bin/pnpm.cjs payload.GET request to an unexpected registry URL for a pnpm tarball during the Vite+ setup phase; build failures or unexpected output immediately after the pnpm download step in vp command output.vp binary or Node.js (e.g., curl, wget, bash, network utilities) during the setup phase before dependency installation completes (VoidZero Advisory).Upgrade Vite+ to version 1.5.1 or later immediately. The fix (PR #3400, commit a110977) adds integrity verification of the downloaded pnpm bootstrap against a hash pinned in the CLI binary, and caches verified installs in a content-addressed directory under a .verified-v1 namespace — a different pin or registry will trigger a fresh, independently verified download. As a workaround prior to upgrading, review any .npmrc files in repositories before running vp commands, and avoid running vp in untrusted repositories on fresh or upgraded installations. In CI/CD environments, enforce registry pinning at the pipeline level and pre-seed the pnpm cache to avoid triggering the vulnerable download path (v1.5.1 Release, Fix PR #3400, GitHub Advisory).
The vulnerability was shared on Mastodon by TheHackerWire and on Bluesky shortly after disclosure, indicating moderate community awareness. The advisory was reviewed and published to the GitHub Advisory Database on December 1, 2026. No major vendor statements beyond VoidZero's own advisory and patch release have been identified (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."