Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2025-27613
Published:July 10, 2025
Updated:September 22, 2026
Gitk is a Tcl/Tk based Git history browser. Starting with 1.7.0, when a user clones an untrusted repository and runs gitk without additional command arguments, files for which the user has write permission can be created and truncated. The option Support per-file encoding must have been enabled before in Gitk's Preferences. This option is disabled by default. The same happens when Show origin of this line is used in the main window (regardless of whether Support per-file encoding is enabled or not). 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 Packages
https://github.com/git/git.git (GITHUB):
Affected version(s) >=v2.46.0 <v2.46.4
Fix Suggestion:
Update to version v2.46.4
https://github.com/git/git.git (GITHUB):
Affected version(s) =v2.50.0 <v2.50.1
Fix Suggestion:
Update to version v2.50.1
https://github.com/git/git.git (GITHUB):
Affected version(s) >=v2.47.0 <v2.47.3
Fix Suggestion:
Update to version v2.47.3
https://github.com/git/git.git (GITHUB):
Affected version(s) =v2.49.0 <v2.49.1
Fix Suggestion:
Update to version v2.49.1
https://github.com/git/git.git (GITHUB):
Affected version(s) >=v2.45.0 <v2.45.4
Fix Suggestion:
Update to version v2.45.4
https://github.com/git/git.git (GITHUB):
Affected version(s) >=v2.48.0 <v2.48.2
Fix Suggestion:
Update to version v2.48.2
https://github.com/git/git.git (GITHUB):
Affected version(s) >=v1.0.0 <v2.43.7
Fix Suggestion:
Update to version v2.43.7
https://github.com/git/git.git (GITHUB):
Affected version(s) >=v2.44.0 <v2.44.4
Fix Suggestion:
Update to version v2.44.4
Do you need more information?
Contact Us
CVSS v4
Base Score:
4.8
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
LOW
Subsequent System Availability
NONE
CVSS v3
Base Score:
3.6
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
NONE
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
EPSS
Base Score:
0.53