Skip to main content
Menu
CVEs

vite-plus OS command injection in registry version lookup

Affects Vite+ from 0.3.3 before 1.5.1 when vp env use runs with --no-install and a project's .npmrc sets the registry. No vendor rating is given. Fixed in 1.5.1.

CVE-2026-137190EUVD-2026-139668Published November 30, 2026, updated

7.0HighCNA
Exploited
No known exploitation
Fix
Fixed in 1.5.1
Who is exposed
Specific setups only

Summary

Vite+ has a shell command injection flaw that lets an attacker run commands under a developer's account. It is triggered when a developer with shell integration runs `vp env use --no-install` in a cloned repository whose `.npmrc` points the latest dist-tag lookup to an attacker-controlled registry, and the attacker could then read credentials and modify writable files.

Written by a model

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

Who should check

Developers using the global vp CLI from Vite+ 0.3.3 through 1.5.0 with the documented shell integration who run vp env use --no-install, including on cloned repositories.

“Affected versions: 0.3.3 through 1.4.0 inclusive”

github.com

What to do

  1. Check whether your setup matches what the bug needs.

    Vite+ versions from 0.3.3 through 1.5.0 (fixed in 1.5.1). Running vp env use with the --no-install flag. The documented shell integration is loaded in the user's shell. No project file selects a version, so Vite+ asks the registry for the latest dist-tag, and the registry comes from a repository's .npmrc.
  2. Upgrade to a fixed version: 1.5.1.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

Check whether my systems are affected by CVE-2026-137190 (Vite+: Shell Command Injection via an Unvalidated Registry Version String), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-137190 (entry last updated 2026-11-30):
Affected:
- voidzero-dev vite-plus: from 0.3.3, fixed in 1.5.1
Fixed versions: 1.5.1.
Conditions (all must be true for the bug to be hit):
- Vite+ versions from 0.3.3 through 1.5.0 (fixed in 1.5.1). (source: https://github.com/voidzero-dev/vite-plus/security/advisories/GHSA-p79r-mf8q-r78h)
- Running vp env use with the --no-install flag. (source: https://github.com/voidzero-dev/vite-plus/security/advisories/GHSA-p79r-mf8q-r78h)
- The documented shell integration is loaded in the user's shell. (source: https://github.com/voidzero-dev/vite-plus/security/advisories/GHSA-p79r-mf8q-r78h)
- No project file selects a version, so Vite+ asks the registry for the latest dist-tag, and the registry comes from a repository's .npmrc. (source: https://github.com/voidzero-dev/vite-plus/security/advisories/GHSA-p79r-mf8q-r78h)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: local access, no login, a user action.
CISA KEV: CVE-2026-137190 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-137190 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/voidzero-dev/vite-plus/security/advisories/GHSA-p79r-mf8q-r78h
- https://github.com/voidzero-dev/vite-plus/pull/3395
- https://github.com/voidzero-dev/vite-plus/commit/92edd550cf8d801d040fa3559aae906e8fa42dab
- https://github.com/voidzero-dev/vite-plus/releases/tag/v1.5.1
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-137190
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-137190"}.

Affected versions

cve.now Index

12Pof 100 · provisional · methodology v3
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure5/25Specific setups only
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity7/10CVSS 7.0
  • No patch0/5No signal

What would change the score

  • Would score about 62 if added to CISA KEV
  • Would score about 57 if CISA's SSVC rates exploitation active
  • Would score about 22 if CISA's SSVC rates it automatable

Timeline

  1. CVE published
  2. First seen by cve.now

Evidence 6

KindSource
Vendor advisory 1Establishes: Affected and fixed versions.
AdvisoryGitHub · voidzero-dev/vite-plus · Advisory GHSA-p79r-mf8q-r78h
CVE record 2Establishes: The identifier and description.
RecordCVE List · CVE-2026-137190
RecordNVD · CVE-2026-137190
Other links 3
RepositoryGitHub · voidzero-dev/vite-plus · Pull request #3395
RepositoryGitHub · voidzero-dev/vite-plus · Commit 92edd550
RepositoryGitHub · voidzero-dev/vite-plus · Release v1.5.1

Questions about CVE-2026-137190

Is CVE-2026-137190 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: cve.now feed data

What does this mean?

Vite+ does not validate a version string it gets from the package registry, so a crafted string can inject shell commands. Those commands run with the developer's permissions in their shell, which can expose readable credentials and let files that are writable be modified.

Source: github.com

Which versions are affected by CVE-2026-137190?

vite-plus: from 0.3.3 before 1.5.1.

Source: cve.now feed data

Am I affected, and how do I check?

The affected range starts at Vite+ 0.3.3 and runs up to, but not including, 1.5.1. The bug needs vp env use run with the documented --no-install flag, the documented shell integration loaded in the user's shell, and no project file selecting a version, so Vite+ asks the registry for the latest dist-tag, with the registry set by a repository's .npmrc. To check, look at the installed Vite+ version and whether a project file pins a version.

Source: github.com

How do I fix CVE-2026-137190?

Upgrade Vite+ to 1.5.1 or later, which is the listed fixed version.

Source: github.com

No corrections so far. Something wrong on this page? Report an error.