CVE-2025-46835
Git GUI can create and overwrite files for which the user has write permission
Reported by github_m · Published July 10, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| git-subtree | Amazon Linux | 2.47.3-1.amzn2.0.1 |
| git-all | Amazon Linux | 2.50.1-1.amzn2023.0.1, 2.47.3-1.amzn2.0.1 |
| git-cvs | Amazon Linux | 2.50.1-1.amzn2023.0.1, 2.47.3-1.amzn2.0.1 |
| git-email | Amazon Linux | 2.47.3-1.amzn2.0.1 |
| gitweb | Amazon Linux | 2.50.1-1.amzn2023.0.1, 2.47.3-1.amzn2.0.1 |
| git-daemon | Amazon Linux | 2.50.1-1.amzn2023.0.1, 2.47.3-1.amzn2.0.1 |
| git | Amazon Linux | 2.50.1-1.amzn2023.0.1, 2.47.3-1.amzn2.0.1 |
| perl-Git | Amazon Linux | 2.50.1-1.amzn2023.0.1, 2.47.3-1.amzn2.0.1 |
| gitk | Amazon Linux | 2.50.1-1.amzn2023.0.1, 2.47.3-1.amzn2.0.1 |
| git-gui | Amazon Linux | 2.50.1-1.amzn2023.0.1, 2.47.3-1.amzn2.0.1 |
| git-core | Amazon Linux | 2.50.1-1.amzn2023.0.1, 2.47.3-1.amzn2.0.1 |
| git-instaweb | Amazon Linux | 2.50.1-1.amzn2023.0.1, 2.47.3-1.amzn2.0.1 |
6 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| j6t | git-gui | < 2.43.7, >= 2.44.0, < 2.44.4, >= 2.45.0, < 2.45.4 |
| amazon:2 | git-subtree | 0 |
| amazon:2023 | git-all | 0 |
| amazon:2 | git-cvs | 0 |
| amazon:2 | git-email | 0 |
| amazon:2 | gitweb | 0 |
| amazon:2 | git-daemon | 0 |
| amazon:2 | git | 0 |
| amazon:2023 | perl-Git | 0 |
| amazon:2023 | git | 0 |
| amazon:2 | gitk | 0 |
| amazon:2023 | gitk | 0 |
| amazon:2023 | git-gui | 0 |
| amazon:2023 | git-cvs | 0 |
| amazon:2 | perl-Git | 0 |
| amazon:2 | git-core | 0 |
| amazon:2023 | gitweb | 0 |
| amazon:2 | git-instaweb | 0 |
| amazon:2 | git-gui | 0 |
| amazon:2023 | git-credential-libsecret | 0 |
…and 17 more
Timeline
- Jul 8, 2025 PoC Published (5 in total, the first dated here)
- Jul 8, 2025 CVE Published
- Jul 11, 2025 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Security Advisory (54 in total, the first dated here)
- Jun 7, 2026 Coalition ESS Score
- Oct 23, 2026 Distribution Patch (27 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-46835
vulnetix vdb fixes CVE-2025-46835
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-46835/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/j6t/git-gui/security/advisories/GHSA-xfx7-68v4-v8fg x_refsource_CONFIRM
- https://github.com/j6t/git-gui/compare/dcda716dbc9c90bcac4611bd1076747671ee0906..a437f5bc93330a70b42a230e52f3bd036ca1b1da x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2025/10/msg00003.html advisory
- http://www.openwall.com/lists/oss-security/2025/07/08/4 url