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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.6
- **CVSS:** 8.6 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.34% (percentile 20, 2026-11-26)
- **CWE:** CWE-78
- **Published:** 2025-07-10T15:06:12.757Z
- **Modified:** 2026-06-17T09:26:15.297Z

## Who should check

- Anyone running 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

## 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 and fixed versions

- 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 (cvelist)

## Mitigation

- Upgrade git-gui to 2.50.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-46334. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-46334.md
Affected: 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
Fixed in: j6t git-gui 2.43.7, j6t git-gui 2.44.4, j6t git-gui 2.45.4, j6t git-gui 2.46.4, j6t git-gui 2.47.3, j6t git-gui 2.48.2, j6t git-gui 2.49.1, j6t git-gui 2.50.1

Steps:
1. Search this machine and project for j6t git-gui: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-46334 being exploited?

There is no confirmed exploitation: CVE-2025-46334 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-46334?

High: CVSS 8.6 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2025-46334?

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.

### Is there a fix for CVE-2025-46334?

Yes. Fixed in j6t git-gui 2.43.7, j6t git-gui 2.44.4, j6t git-gui 2.45.4, j6t git-gui 2.46.4, j6t git-gui 2.47.3, j6t git-gui 2.48.2, j6t git-gui 2.49.1, j6t git-gui 2.50.1. Upgrade git-gui to 2.50.1 or later.

### How do I check if I'm affected by CVE-2025-46334?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/j6t/git-gui/security/advisories/GHSA-7px4-9hg2-fvhx>
- other: <https://github.com/j6t/git-gui/compare/dcda716dbc9c90bcac4611bd1076747671ee0906..a1ccd2512072cf52835050f4c97a4fba9f0ec8f9>
- other: <http://www.openwall.com/lists/oss-security/2025/07/08/4>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-46334>

HTML: <https://flawdb.com/CVE-2025-46334> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-46334>
