Vulnerability · Published Jul 10, 2025 · Assigned by GitHub_M

CVE-2025-46334Git GUI malicious command injection on Windows

High 8.6

In plain English

A high-severity OS command injection in git-gui from j6t. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.6High
Exploit odds (30 days)0.4%top 68.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20git2.45.4-r0ALPINE-CVE-2025-46334
Alpine:v3.21git2.47.3-r0ALPINE-CVE-2025-46334
Alpine:v3.22git2.49.1-r0ALPINE-CVE-2025-46334
Alpine:v3.23git2.50.1-r0ALPINE-CVE-2025-46334
Alpine:v3.24git2.50.1-r0ALPINE-CVE-2025-46334

Affected products (as reported)

VendorProductVersions
j6t git-gui < 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>= 2.49.0, < 2.49.1>= 2.50.0, < 2.50.1

Weakness: CWE-78 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

References