CVE-2025-27613
July 10, 2025
Gitk: When a user clones an untrusted repository and runs Gitk without
additional command arguments, any writable file can be created and
truncated. The option "Support per-file encoding" must have been
enabled. The operation "Show origin of this line" is affected as
well, regardless of the option being enabled or not.
Affected Packages
https://github.com/git/git.git (GITHUB):
Affected version(s) >=v1.0.0 <v2.43.7Fix Suggestion:
Update to version v2.43.7https://github.com/git/git.git (GITHUB):
Affected version(s) >=v2.46.0 <v2.46.4Fix Suggestion:
Update to version v2.46.4https://github.com/git/git.git (GITHUB):
Affected version(s) =v2.50.0 <v2.50.1Fix Suggestion:
Update to version v2.50.1https://github.com/git/git.git (GITHUB):
Affected version(s) >=v2.44.0 <v2.44.4Fix Suggestion:
Update to version v2.44.4https://github.com/git/git.git (GITHUB):
Affected version(s) >=v2.48.0 <v2.48.2Fix Suggestion:
Update to version v2.48.2https://github.com/git/git.git (GITHUB):
Affected version(s) =v2.49.0 <v2.49.1Fix Suggestion:
Update to version v2.49.1https://github.com/git/git.git (GITHUB):
Affected version(s) >=v2.47.0 <v2.47.3Fix Suggestion:
Update to version v2.47.3https://github.com/git/git.git (GITHUB):
Affected version(s) >=v2.45.0 <v2.45.4Fix Suggestion:
Update to version v2.45.4Related Resources (6)
Do you need more information?
Contact UsCVSS 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.01