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.
History

Wed, 16 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00017}

epss

{'score': 0.00019}


Fri, 11 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00017}


Thu, 10 Jul 2025 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 10 Jul 2025 16:00:00 +0000


Thu, 10 Jul 2025 15:15:00 +0000

Type Values Removed Values Added
Description No description is available for this CVE. 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.
Title gitk: Git file creation flaw Gitk can create and truncate files in the user's home directory
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 3.6, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N'}


Thu, 10 Jul 2025 00:45:00 +0000

Type Values Removed Values Added
Description No description is available for this CVE.
Title gitk: Git file creation flaw
References
Metrics threat_severity

None

threat_severity

Moderate


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2025-07-10T14:58:16.752Z

Updated: 2025-07-10T15:55:34.975Z

Reserved: 2025-03-03T15:10:34.079Z

Link: CVE-2025-27613

cve-icon Vulnrichment

Updated: 2025-07-10T15:55:32.318Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-07-10T15:15:26.243

Modified: 2025-07-15T13:24:41.097

Link: CVE-2025-27613

cve-icon Redhat

Severity : Moderate

Publid Date: 2025-07-08T13:01:00Z

Links: CVE-2025-27613 - Bugzilla