CVE-2025-46334Git GUI malicious command injection on Windows
Git GUI allows you to use the Git source control management tools via a GUI. A malicious repository can ship versions of sh.exe or typical textconv filter programs such as astextplain. Due to the unfortunate design of Tcl on Windows, the search path when looking for an executable always includes the current directory. The mentioned programs are invoked when the user selects Git Bash or Browse Files from the menu. This vulnerability is fixed in 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.3, 2.48.2, 2.49.1, and 2.50.1.
What to do
Fixed builds are available from Alpine: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | git | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | git | Not affected vulnerable_code_not_present | ||
| Alpine Linux 3.24 | git | Fixed | 2.50.1-r0 | ALPINE-CVE-2025-46334 |
| Alpine Linux 3.23 | git | Fixed | 2.50.1-r0 | ALPINE-CVE-2025-46334 |
| Alpine Linux 3.22 | git | Fixed | 2.49.1-r0 | ALPINE-CVE-2025-46334 |
| Alpine Linux 3.21 | git | Fixed | 2.47.3-r0 | ALPINE-CVE-2025-46334 |
| Alpine Linux 3.20 | git | Fixed | 2.45.4-r0 | ALPINE-CVE-2025-46334 |
| Alpine Linux 3.19 | git | Fixed | 2.43.7-r0 | ALPINE-CVE-2025-46334 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- j6t git-gui: affected: < 2.43.7, >= 2.44.0, < 2.44.4, >= 2.45.0, < 2.45.4, >= 2.46.0, < 2.46.4, >= 2.47.0, < 2.47.3, >= 2.48.0, < 2.48.2
References
- https://github.com/j6t/git-gui/security/advisories/GHSA-7px4-9hg2-fvhx
- https://github.com/j6t/git-gui/compare/dcda716dbc9c90bcac4611bd1076747671ee0906..a1ccd2512072cf52835050f4c97a4fba9f0ec8f9
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.