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

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

voidzero-dev / vite-plus

Correctif recensé 1 jour après la divulgation. Version corrigée : vite-plus 1.5.1. Cette vulnérabilité ne figure dans aucune des quatre sources de PoC. Aucune inscription au catalogue KEV de la CISA à ce jour.

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] et GitHub advisory GHSA-p79r-mf8q-r78h
code injection
CWE-95, stated by the CNA GitHub_M, NVD, republishing [email protected] et 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
étape actuelle
PAT
divulgation
délai avant correctif
T+1d
CVSS
7.0 HIGH v3.1

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
11-30T20:13Z
PATcorrectif
12-01T02:01Z
ANAanalyse
aucune donnée
POCPoC
aucune donnée
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

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.

Journal des événements

+DISdivulgation

Fiche CVE publiée par GitHub_M. CVSS 7, gravité élevée. Évaluation SSVC de la CISA : exploitation au niveau « poc ».

source cvelist · observé en direct par nday le · brut
{
  "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"
  }
}
source non datée ; vu en direct par nday
+PATcorrectif disponible

L’avis indique la version corrigée vite-plus 1.5.1. L’avis renvoie vers les commits de correction. Avis publié le  ; la date de publication du correctif lui-même n’est pas renseignée.

source ghsa GHSA-p79r-mf8q-r78h · observé en direct par nday le · brut
{
  "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.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.