CVE-2025-27613: Gitk can create and truncate files in the user's home directory
Vulnerability summary
CVE-2025-27613 is a low (CVSS 3.6) vulnerability in j6t gitk. EPSS estimates a 0.60% chance of exploitation in the next 30 days, higher than 50.2% of scored vulnerabilities.
Not severe (CVSS 3.6, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 11 · Related 9Timeline
- 10-07-2025PublishedVulnerability first disclosed.
- 04-11-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · AlpineEcosystem advisory · calculated3.6LowCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
- OSV · UbuntuEcosystem advisory · calculated3.6LowCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
- OSV · DebianEcosystem advisory · calculated3.6LowCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
- NVDNIST3.6LowCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
EPSS trend
Probability
0.60%
Chance of exploitation in the next 30 days
Percentile
50%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.60% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine1 product
- git< 2.43.7-r0 | < 2.45.4-r0 | < 2.47.3-r0 | < 2.49.1-r0 | < 2.50.1-r0
Debian1 product
- git< 1:2.39.5-0+deb12u3 | < 1:2.47.3-0+deb13u1 | < 1:2.50.1-0.1
J6t1 product
- gitk≥ 1.7.0, < 2.43.7 | ≥ 2.44.0, < 2.44.4 | ≥ 2.45.0, < 2.45.4 | ≥ 2.46.0, < 2.46.4 | ≥ 2.47.0, < 2.47.3 | ≥ 2.48.0, < 2.48.2 | ≥ 2.49.0, < 2.49.1 | ≥ 2.50.0, < 2.50.1
Ubuntu1 product
- git< 1:2.7.4-0ubuntu1.10+esm11 | < 1:2.17.1-1ubuntu0.18+esm4 | < 1:2.25.1-1ubuntu3.14+esm3 | < 1:2.34.1-1ubuntu1.15 | < 1:2.43.0-1ubuntu7.3
4 vendors · 4 products
References
14 links- github.com/j6t/gitk/security/advisories/GHSA-f3cw-xrj3-wr2vX Refsource CONFIRM
- github.com/j6t/…X Refsource MISC
- github.com/j6t/…X Refsource MISC