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

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

- **Severity:** HIGH 8.5
- **CVSS:** 8.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L`
- **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: Low
- **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.32% (percentile 17, 2026-11-26)
- **CWE:** CWE-88
- **Published:** 2025-07-10T15:09:42.735Z
- **Modified:** 2026-06-17T09:27:00.533Z

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

## 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-46835. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-46835.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-46835 being exploited?

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

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

High: CVSS 8.5 (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-46835?

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-46835?

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-46835?

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-xfx7-68v4-v8fg>
- other: <https://github.com/j6t/git-gui/compare/dcda716dbc9c90bcac4611bd1076747671ee0906..a437f5bc93330a70b42a230e52f3bd036ca1b1da>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00003.html>
- 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-46835>

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