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

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 2.0.1 (CNA); fix release not confirmed
- Status: published
- Published: 2026-09-29 · Modified: 2026-09-30
- Aliases: CGA-3hm5-c8g3-p7w4, CGA-5877-q75x-23q5, CGA-8rr7-7933-mjwx, CGA-jv5f-6wph-68p9, CGA-qc4q-xcx5-w89h, CGA-vp7j-h68x-gjjp, GHSA-v5rq-49vh-5v5c, CGA-23mr-f9v7-2f5f, CGA-5m58-r56h-rq2h, CGA-96q9-vw5h-96m6, CGA-9wf2-6rh4-2mc8, CGA-cp82-4vgr-x5q8, CGA-gpmq-9hwf-vvh4, CGA-pphf-h9cv-9qv2, CGA-x7cv-4frg-x2r4, CGA-xp8w-fwpp-3gw4, CGA-wv98-95c9-wv8m, CGA-x2qw-qjf3-jwf6, CGA-x8c5-mjhf-2v59
- Record: https://cvemate.com/vulnerability/CVE-2026-102829 · JSON: https://cvemate.com/vulnerability/CVE-2026-102829/json

## Description

```text
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.
```

## Signals

- CVSS: 9.2 critical (v4.0, CVE.org) 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
- EPSS: 0.353%, percentile 31.039%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard gemini-cli (Chainguard): All versions (No fix recorded) \| \< 0.70.0-r0
- chainguard keycloak-26.6 (Chainguard): All versions (No fix recorded) \| \< 26.6.9-r0
- chainguard keycloak-26.6-iamguarded-compat (Chainguard): All versions (No fix recorded) \| \< 26.6.9-r0
- chainguard keycloak-26.7 (Chainguard): All versions (No fix recorded)
- chainguard keycloak-26.7-iamguarded-compat (Chainguard): All versions (No fix recorded)
- chainguard keycloak-26.8 (Chainguard): All versions (No fix recorded) \| \< 26.8.0-r1
- chainguard keycloak-26.8-iamguarded-compat (Chainguard): All versions (No fix recorded) \| \< 26.8.0-r1
- chainguard renovate (Chainguard): All versions (No fix recorded) \| \< 44.164.5-r0 \| \< 44.164.1-r0
- wolfi keycloak-26.6 (Wolfi): All versions (No fix recorded) \| \< 26.6.9-r0
- wolfi keycloak-26.6-iamguarded-compat (Wolfi): All versions (No fix recorded) \| \< 26.6.9-r0
- wolfi renovate (Wolfi): All versions (No fix recorded) \| \< 44.164.5-r0 \| \< 44.164.1-r0
- @simple-git argv-parser (Npm): \< 2.0.1
- steveukx git-js: \< 2.0.1

## References

- <https://github.com/steveukx/git-js/security/advisories/GHSA-v5rq-49vh-5v5c>
- <https://github.com/steveukx/git-js/pull/1201>
- <https://github.com/steveukx/git-js/commit/68874c239f0c7a87f4a68c3d2c4a0d7c75bb27f4>
- <https://github.com/steveukx/git-js/releases/tag/@simple-git/argv-parser@2.0.1>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102829.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-102829>
- <https://github.com/steveukx/git-js>

---

Data as of 2026-12-05T07:50:22.015Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
