Skip to content

vite-plus

Vite+: Shell Command Injection via an Unvalidated Registry Version String

CVE-2026-137190GHSA-p79r-mf8q-r78hPublished 30 Nov 2026, 20:13 UTC

Real-world risk

1.5/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

7.0

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
vite-plusWidespread>= 0.3.3, <= 1.5.01.5.1
vite-plusNiche>= 0.3.3, < 1.5.11.5.1

What to do

Update to a fixed version: 1.5.1.

Why this score

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionLocalMust already run code or have a shell on the machineFrom the CVSS vector0.50
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityHardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bugFrom the CVSS vector0.45

Threat level T3: Public proof of concept (× 0.95)

A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit

  • Reference tagged as exploit (link)
  • CISA SSVC: proof of concept

EPSS 0.5% chance of exploitation in 30 days (percentile 41), as of 2026-12-02.

The arithmetic
  1. Prerequisites multiplied together0.158
  2. Threat T3: Public proof of concept0.950
  3. 10 × impact 1 × prerequisites 0.1575 × threat 0.951.496
  4. Rounded to one decimal between 0.1 and 101.5

How the score works

Exploitation and evidence timeline

  1. 30 Nov 2026 Published
  2. 2 Dec 2026 Reference tagged as exploit first seen
  3. 2 Dec 2026 CISA SSVC: proof of concept first seen
  4. 2 Dec 2026 Risk 1.5 (cvss fallback)

Weakness

CWE-78, CWE-95

References

Get alerts for vite-plus

Free email or text alerts when a vulnerability in vite-plus reaches risk 8 or higher. Nothing else.