nday
CVE-2026-137190 GHSA-p79r-mf8q-r78h

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

voidzero-dev / vite-plus

Patch on record 1 day after disclosure. Patched: fixed in vite-plus 1.5.1. None of the four PoC sources lists it. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

command injection
CWE-78, stated by the CNA GitHub_M, NVD, republishing [email protected], and GitHub advisory GHSA-p79r-mf8q-r78h
code injection
CWE-95, stated by the CNA GitHub_M, NVD, republishing [email protected], and GitHub advisory GHSA-p79r-mf8q-r78h
local
AV:L in CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H (CVSS 3.1) from the CNA GitHub_M
no authentication required
PR:N in CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H (CVSS 3.1) from the CNA GitHub_M
npm
GHSA-p79r-mf8q-r78h: npm packages vite-plus
stage
PAT
disclosed
disclosure → patch
T+1d
cvss
7.0 HIGH v3.1

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
11-30T20:13Z
PATpatch
12-01T02:01Z
ANAanalysis
no record yet
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:L
Local: needs a local or SSH session, or a user tricked into acting on the machine
Attack complexity AC:H
High: success depends on conditions outside the attacker's control, such as gathering details of the target or winning a race
Privileges required PR:N
None: no account or authorization needed
User interaction UI:R
Required: a user must do something, such as open a file or click a link

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

CVSS 3.1 vector from the CVE record, scored by the CNA GitHub_M.

Event log

+DISdisclosed

CVE record published by GitHub_M. CVSS 7, high. CISA's SSVC assessment rates exploitation as poc.

src cvelist · nday , observed live · raw
{
  "id": 562928,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-137190",
  "occurred_at": "2026-11-30T20:13:19.625Z",
  "observed_at": "2026-11-30T21:03:12.567445Z",
  "is_backfill": false,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "version": "3.1",
      "base_score": 7,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2026-12-01T19:08:58.782435Z",
      "automatable": "no",
      "exploitation": "poc",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2026-11-30T20:13:19.625Z",
    "assigner_short_name": "GitHub_M"
  }
}
no source time; observed live by nday
+PATpatch released

The advisory gives fixed version vite-plus 1.5.1. Fix commits are linked. Advisory published ; the patch's own release time is not recorded.

src ghsa GHSA-p79r-mf8q-r78h · nday , observed live · raw
{
  "id": 563135,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-p79r-mf8q-r78h",
  "occurred_at": null,
  "observed_at": "2026-12-01T02:01:35.324932Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-p79r-mf8q-r78h",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 7.0,
        "vector_string": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Improper Neutralization of Special Elements used in an OS Command",
        "cwe_id": "CWE-78"
      },
      {
        "name": "Improper Neutralization of Directives in Dynamically Evaluated Code",
        "cwe_id": "CWE-95"
      }
    ],
    "ghsa_id": "GHSA-p79r-mf8q-r78h",
    "packages": [
      {
        "name": "vite-plus",
        "ecosystem": "npm",
        "first_patched_version": "1.5.1",
        "vulnerable_version_range": ">= 0.3.3, <= 1.5.0"
      }
    ],
    "severity": "high",
    "references": [
      "https://github.com/voidzero-dev/vite-plus/security/advisories/GHSA-p79r-mf8q-r78h",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-137190",
      "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",
      "https://github.com/advisories/GHSA-p79r-mf8q-r78h"
    ],
    "fix_commit_urls": [
      "https://github.com/voidzero-dev/vite-plus/pull/3395",
      "https://github.com/voidzero-dev/vite-plus/commit/92edd550cf8d801d040fa3559aae906e8fa42dab"
    ],
    "github_reviewed_at": "2026-12-01T01:35:46Z",
    "advisory_updated_at": "2026-12-01T01:35:47Z",
    "source_code_location": "https://github.com/voidzero-dev/vite-plus",
    "advisory_published_at": "2026-12-01T01:35:46Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.