Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. vite-plus
  4. ›
  5. CVE-2026-137190

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

December 1, 2026

vp env use changes the active runtime for the current terminal by printing shell statements that a wrapper in the user’s profile evaluates, so anything in that output is shell code. With no project file selecting a version, Vite+ asks the registry for the latest one, the registry comes from an .npmrc inside the project directory, and the reply is interpolated into an export statement unquoted and unchecked. A cloned repository can therefore name a server it controls and answer with a version string carrying shell commands, which run in the developer’s shell when that command is given the documented --no-install flag.

References

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

Code Behaviors & Features

Detect and mitigate CVE-2026-137190 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.3.3 before 1.5.1

Fixed versions

  • 1.5.1

Solution

Upgrade to version 1.5.1 or above.

Impact 7 HIGH

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

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
  • CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')

Source file

npm/vite-plus/CVE-2026-137190.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 01 Dec 2026 12:16:33 +0000.