CVE-2025-27613

Gitk can create and truncate files in the user's home directory

Published Jul 10, 2025 CVSS 3.1 · 3.6 Low EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4323-1 git security update
EUVD EUVD EUVD-2025-21005 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.
Ubuntu USN Ubuntu USN USN-7626-1 Git vulnerabilities
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00017}

epss

{'score': 0.00019}

Type Values Removed Values Added
Metrics epss

{'score': 0.00017}

Type Values Removed Values Added
Metrics ssvc

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

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'}

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

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 4, 2025, 9:09 PM
Reserved
Mar 3, 2025, 3:10 PM
Status
Deferred
Published
Jul 10, 2025, 3:15 PM
Modified
Jun 17, 2026, 9:03 AM
Severity
Moderate
Public date
Jul 8, 2025, 1:01 PM