simple-git: `VISUAL` editor environment variable is omitted from unsafe editor detection
Published Sep 29, 2026
9.2
CRITICALCVSS 4.0
EPSS 0.27%
Description
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.
Affected products
-
- Version < 2.0.1StatusaffectedConstraints-
- Version
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
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
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
PoCAutomatable
NoTechnical Impact
TotalDecision
n/aAssessed Sep 30, 2026 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
Oct 2026- EPSS v5
Percentile over time
- EPSS v5
Table of values (2 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 0.27% (0.00275) | 18.06th | v5 (v2026.06.15) |
| Oct 1, 2026 | 0.27% (0.00275) | 17.98th | v5 (v2026.06.15) |
References (4)
- https://github.com/steveukx/git-js/commit/68874c239f0c7a87f4a68c3d2c4a0d7c75bb27f4 x_refsource_MISC
- https://github.com/steveukx/git-js/pull/1201 x_refsource_MISC
- https://github.com/steveukx/git-js/releases/tag/@simple-git/argv-parser@2.0.1 x_refsource_MISC
- https://github.com/steveukx/git-js/security/advisories/GHSA-v5rq-49vh-5v5c x_refsource_CONFIRM
| Link | Providers | Tags |
|---|---|---|
| https://github.com/steveukx/git-js/commit/68874c239f0c7a87f4a68c3d2c4a0d7c75bb27f4 | x_refsource_MISC | |
| https://github.com/steveukx/git-js/pull/1201 | x_refsource_MISC | |
| https://github.com/steveukx/git-js/releases/tag/@simple-git/argv-parser@2.0.1 | x_refsource_MISC | |
| https://github.com/steveukx/git-js/security/advisories/GHSA-v5rq-49vh-5v5c | x_refsource_CONFIRM |
Change history (0)
No recorded changes yet.