CVE-2025-46835
vulnerability analysis and mitigation

Overview

CVE-2025-46835 is a vulnerability in Git GUI that allows file overwrite when a user clones an untrusted repository and is tricked into editing a file located in a maliciously named directory. The vulnerability was discovered and fixed by Johannes Sixt, with the fix being released on July 8, 2025, as part of multiple Git security updates (OSS Security).

Technical details

The vulnerability affects Git GUI and enables an attacker to create and overwrite any writable file when a user edits a file located in a maliciously named directory within a cloned untrusted repository. The issue affects multiple Git versions older than v2.50.0 and has been fixed in versions v2.43.7, v2.44.4, v2.45.4, v2.46.4, v2.47.3, v2.48.2, and v2.49.1 (OSS Security).

Impact

When exploited, this vulnerability allows attackers to create and overwrite any writable file on the system through Git GUI when users interact with maliciously crafted repositories (OSS Security).

Mitigation and workarounds

Users are recommended to upgrade to the latest patched versions of Git: v2.43.7, v2.44.4, v2.45.4, v2.46.4, v2.47.3, v2.48.2, or v2.49.1. These versions contain the necessary security fixes to address the vulnerability (OSS Security).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management