#VU112646 Product UI does not warn user of unsafe actions in Git - CVE-2025-46835


Vulnerability identifier: #VU112646

Vulnerability risk: Medium

CVSSv4.0: 4.5 [CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2025-46835

CWE-ID: CWE-356

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Git
Client/Desktop applications / Software for system administration

Vendor: Git

Description

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists due to missing notifications in Git GUI when performing potentially dangerous actions. 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 any writable file.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Git: 2.43.0 - 2.43.6, 2.44.0 - 2.44.3, 2.45.0 - 2.45.3, 2.46.0 - 2.46.3, 2.47.0 - 2.47.2, 2.48.0 - 2.48.1, 2.49.0, 2.50.0


External links
https://www.openwall.com/lists/oss-security/2025/07/08/4
https://lore.kernel.org/git/xmqq5xg2wrd1.fsf@gitster.g/


Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?


Latest bulletins with this vulnerability