CVE-2026-137190
Vite+: Shell Command Injection via an Unvalidated Registry Version String
Also known as GHSA-p79r-mf8q-r78h
AI summary AI generated
An attacker can execute shell commands as a developer via a malicious .npmrc registry returning shell syntax to Vite+ vp env use with --no-install.
Mitigation
- Upgrade vite-plus to 1.5.1 or later.
Who should check
- Projects that depend on npm package vite-plus (>= 0.3.3, <= 1.5.0)
- Anyone running voidzero-dev vite-plus >= 0.3.3, < 1.5.1
Vulnerability facts
- Affected
- vite-plus >= 0.3.3, <= 1.5.0
- Fixed in
- 1.5.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.0 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- CWE
- CWE-78, CWE-95
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm vite-plus | >= 0.3.3, <= 1.5.0 | 1.5.1 | ghsa |
| voidzero-dev vite-plus | >= 0.3.3, < 1.5.1 | — | cvelist |
Versions mentioned in the description AI generated
Extracted by AI; each line quotes the description word for word. Source data above takes precedence.
- Affected: vite-plus From 0.3.3 until 1.5.1
From 0.3.3 until 1.5.1
- Fixed: vite-plus 1.5.1
This issue is fixed in version 1.5.1.
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-137190. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-137190.md Affected: vite-plus >= 0.3.3, <= 1.5.0 Fixed in: 1.5.1 Steps: 1. Search this machine and project for vite-plus (npm), voidzero-dev vite-plus: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
Patches
FAQ
Is CVE-2026-137190 being exploited?
There is no confirmed exploitation: CVE-2026-137190 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is CVE-2026-137190?
High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-137190?
vite-plus >= 0.3.3, <= 1.5.0.
Is there a fix for CVE-2026-137190?
Yes. Fixed in 1.5.1. Upgrade vite-plus to 1.5.1 or later.
How do I check if I'm affected by CVE-2026-137190?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More vite-plus vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| HIGH 7.8 | CVE-2026-137191 Vite+: Code Execution via an Unverified Package Manager Download from a Repository-Named Registry | Node.js+2 |