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

- Priority: **Routine**
- Reason: Not severe (CVSS 8.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-07-10 · Modified: 2025-11-04
- Aliases: ALPINE-CVE-2025-46835, UBUNTU-CVE-2025-46835, DEBIAN-CVE-2025-46835
- Record: https://cvemate.com/vulnerability/CVE-2025-46835 · JSON: https://cvemate.com/vulnerability/CVE-2025-46835/json

## Description

```text
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.
```

## Signals

- CVSS: 8.5 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L
- EPSS: 0.612%, percentile 50.775%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine git (Alpine Linux): \< 2.43.7-r0 \| \< 2.45.4-r0 \| \< 2.47.3-r0 \| \< 2.49.1-r0 \| \< 2.50.1-r0
- debian git (Debian): \< 1:2.39.5-0+deb12u3 \| \< 1:2.47.3-0+deb13u1 \| \< 1:2.50.1-0.1
- ubuntu git (Ubuntu): \< 1:2.7.4-0ubuntu1.10+esm11 \| \< 1:2.17.1-1ubuntu0.18+esm4 \| \< 1:2.25.1-1ubuntu3.14+esm3 \| \< 1:2.34.1-1ubuntu1.15 \| \< 1:2.43.0-1ubuntu7.3
- 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

## References

- <https://github.com/j6t/git-gui/security/advisories/GHSA-xfx7-68v4-v8fg>
- <https://github.com/j6t/git-gui/compare/dcda716dbc9c90bcac4611bd1076747671ee0906..a437f5bc93330a70b42a230e52f3bd036ca1b1da>
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00003.html>
- <http://www.openwall.com/lists/oss-security/2025/07/08/4>
- <https://security.alpinelinux.org/vuln/CVE-2025-46835>
- <https://ubuntu.com/security/CVE-2025-46835>
- <https://www.cve.org/CVERecord?id=CVE-2025-46835>
- <https://www.openwall.com/lists/oss-security/2025/07/08/4>
- <https://ubuntu.com/security/notices/USN-7626-1>
- <https://ubuntu.com/security/notices/USN-7626-2>
- <https://ubuntu.com/security/notices/USN-7626-3>
- <https://security-tracker.debian.org/tracker/CVE-2025-46835>

---

Data as of 2026-12-05T03:09:10.858Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
