Back to CVE records
Critical 9.2Published Sep 29, 2026

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

Updated under an hour ago ()

Does this affect you?

It affects steveukx git-js. Add what you run to find out whether that includes you.

EPSS puts the chance of exploitation in the next 30 days at 0.27%, higher than 18% of scored CVEs.

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.

CVSS
9.2 CRITICAL (v4.0, CNA)CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Weakness (CWE)
CWE-78, CWE-184
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
0.27% (percentile 18)
Assigned by
GitHub_M
NVD analysis
Awaiting Analysis
Record last updated
Sep 30, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
steveukx git-js
steveukx:git_js (from the name)
before 2.0.1
CNA record

References

  • x-refsource-confirm
  • x-refsource-misc
  • x-refsource-misc
  • x-refsource-misc

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.