# CVE-2026-137190: Vite+: Shell Command Injection via an Unvalidated Registry Version String

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **CWE:** CWE-78, CWE-95
- **Aliases:** GHSA-p79r-mf8q-r78h
- **Published:** 2026-11-30T20:13:19.625Z
- **Modified:** 2026-12-01T01:35:47.000Z

> **AI summary (AI-generated, claude-haiku-5-5):** 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.

## 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

## 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

- npm `vite-plus`: affected \>= 0.3.3, \<= 1.5.0; fixed 1.5.1 (ghsa)
- voidzero-dev vite-plus: \>= 0.3.3, \< 1.5.1 (cvelist)

## Technologies

npm packages

## Mitigation

- Upgrade vite-plus to 1.5.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/voidzero-dev/vite-plus/security/advisories/GHSA-p79r-mf8q-r78h>
- patch: <https://github.com/voidzero-dev/vite-plus/pull/3395>
- patch: <https://github.com/voidzero-dev/vite-plus/commit/92edd550cf8d801d040fa3559aae906e8fa42dab>
- other: <https://github.com/voidzero-dev/vite-plus/releases/tag/v1.5.1>
- other: <https://nvd.nist.gov/vuln/detail/CVE-2026-137190>
- other: <https://github.com/advisories/GHSA-p79r-mf8q-r78h>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-137190>
- GitHub Advisory Database: CC-BY 4.0 <https://github.com/advisories/GHSA-p79r-mf8q-r78h> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-137190> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-137190>
