Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2025-27613— Gitk can create and truncate files in the user's home directory

Quick assessment

Affected
j6t gitk
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Gitk是Git开源的一个Git自带的图形化工具,用于查看Git仓库的提交历史和分支结构等信息。 Gitk存在操作系统命令注入漏洞,该漏洞源于当用户克隆不受信任的存储库并在没有附加命令参数的情况下运行 Gitk 时,可以创建和截断任何可写文件。

CVSS 3.6 · Low EPSS 0.51% · P41
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-27613

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Gitk can create and truncate files in the user's home directory
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Gitk 操作系统命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Gitk是Git开源的一个Git自带的图形化工具,用于查看Git仓库的提交历史和分支结构等信息。 Gitk存在操作系统命令注入漏洞,该漏洞源于当用户克隆不受信任的存储库并在没有附加命令参数的情况下运行 Gitk 时,可以创建和截断任何可写文件。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
j6t gitk >= 1.7.0, < 2.43.7 -

II. Public POCs for CVE-2025-27613

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-27613

登录查看更多情报信息。

Same Patch Batch · j6t · 2025-07-10 · 4 CVEs total

CVE-2025-27614 8.6 HIGH Gitk allows arbitrary command execution
CVE-2025-46334 8.6 HIGH Git GUI malicious command injection on Windows
CVE-2025-46835 8.5 HIGH Git GUI can create and overwrite files for which the user has write permission

IV. Related Vulnerabilities

V. Comments for CVE-2025-27613

No comments yet


Leave a comment