CVE-2026-137190

7.0High

Published Nov 30, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

7.0CVSS

High

0CVSS v3.110

Attack vector
Local
Complexity
High
Privileges
None
User action
Required
Impact
Full C/I/A compromise
Weakness
CWE-78, CWE-95

What an attacker gets

Attackers can execute arbitrary commands with your user permissions if you run 'vp env use' in a repository with a malicious .npmrc. This requires you to have the shell integration enabled and to run the command with the --no-install flag.

Root cause

The command line interface fails to validate package-manager versions retrieved from external registries, allowing shell injection via unescaped output.

Affected versions

Vite+ 0.3.3 through 1.5.0

CVSS v3.1 · CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Fix & remediation

Upgrade to Vite+ 1.5.1 or later. Until you update, avoid running 'vp env use --no-install' in untrusted repositories.

remediation — bash
$ npm install -g vite-plus@latest

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

Vite+ is a unified toolchain and entry point for web development. From 0.3.3 until 1.5.1, the global vp command line interface's vp env use path can place an unvalidated package-manager version from a repository-selected registry into generated shell export statements. When no project file selects a version, a cloned repository's .npmrc can direct the latest dist-tag lookup to an attacker-controlled registry, and a returned value containing shell syntax reaches the shell wrapper without strict semver validation or safe neutralization. A developer with the documented shell integration who runs vp env use with --no-install can therefore execute attacker-supplied commands with the developer account's permissions, permitting access to readable credentials and modification of writable files. The ordinary installation path rejects invalid versions, so the issue is limited to the affected dist-tag consumer and its stated prerequisites. This issue is fixed in version 1.5.1.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-137190

More fully triaged vulnerabilities you may want to check next.