Description
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.
Problem types
CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Product status
>= 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
>= 2.49.0, < 2.49.1
>= 2.50.0, < 2.50.1
References
www.openwall.com/lists/oss-security/2025/07/08/4
github.com/...it-gui/security/advisories/GHSA-7px4-9hg2-fvhx
github.com/...0906..a1ccd2512072cf52835050f4c97a4fba9f0ec8f9