Skip to content
Heist/ feed
Critical

simple-git: `VISUAL` editor environment variable is omitted from unsafe editor detection

Type: advisorySource: Official CVE List1 source record

simple-git, an interface for running git commands in any node.js application, enables applications to execute Git operations from JavaScript. Prior to 2.0.1 of the argv-parser package, parseEnv omits VISUAL from GitEnvKeys, so prepareEnv drops the value before vulnerabilityCheck can classify it as allowUnsafeEditor. A consuming application that forwards attacker-influenced environment values can therefore allow Git to invoke an attacker-selected editor during operations such as commit amendment or interactive rebase when no higher-priority editor setting overrides VISUAL and Git's terminal prerequisites are met. The executable runs with the privileges of the Node.js process. This issue is fixed in argv-parser 2.0.1.

Announced Source revision 1
Original source ↗

CVE-2026-102829

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-102829

git-js

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "steveukx",
    "product": "git-js",
    "versions": [
      {
        "status": "affected",
        "version": "< 2.0.1"
      }
    ]
  }
]
Related CVEs
CVE-2026-102829

Source reference: /cveMetadata/cveId

Publisher severity

critical

Source reference: /containers/cna/metrics

Event
#4829 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement