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 Details
- CVSS 3.1 Base Score: 3.6
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade git-guiUpgrade git-instawebUpgrade git-subtreeUpgrade git-credential-libsecretUpgrade gitUpgrade perl-Git-SVNUpgrade git-daemonUpgrade git-svnUpgrade git-coreUpgrade perl-GitUpgrade gitwebUpgrade git-allUpgrade git-emailUpgrade git-core-docUpgrade gitk | Jul 24, 2025 | Jul 10, 2025 |
| Alpine Linux | — | Upgrade git | Aug 8, 2025 | Jul 10, 2025 |
| Amazon Linux Ami 2 | — | Upgrade git-guiUpgrade git-debuginfoUpgrade git-allUpgrade perl-GitUpgrade gitwebUpgrade git-instawebUpgrade git-p4Upgrade git-core-docUpgrade perl-Git-SVNUpgrade git-credential-libsecretUpgrade git-cvsUpgrade git-coreUpgrade gitkUpgrade git-daemonUpgrade gitUpgrade git-subtreeUpgrade git-emailUpgrade git-svn | May 20, 2026 | May 20, 2026 |
| Amazon_linux_2023 | — | Upgrade git-debuginfoUpgrade git-core-docUpgrade git-emailUpgrade git-subtreeUpgrade gitkUpgrade gitUpgrade git-core-debuginfoUpgrade gitwebUpgrade git-allUpgrade git-p4Upgrade git-credential-libsecretUpgrade git-debugsourceUpgrade git-daemon-debuginfoUpgrade git-instawebUpgrade git-svnUpgrade git-cvsUpgrade perl-Git-SVNUpgrade git-daemonUpgrade git-guiUpgrade git-credential-libsecret-debuginfoUpgrade git-coreUpgrade perl-Git | Jul 30, 2025 | Jul 8, 2025 |
| Debian | — | Upgrade git | Jul 10, 2025 | Jul 10, 2025 |
| Freebsd | — | Upgrade gitUpgrade git-p4Upgrade git-cvsUpgrade git-svnUpgrade git-gui | Dec 10, 2025 | Jul 8, 2025 |
| Gentoo Linux | — | Upgrade dev-vcs/git. | Jul 9, 2025 | Jul 8, 2025 |
| Huawei Euleros 2_0_sp10 | — | Upgrade git-helpUpgrade git | Nov 12, 2025 | Oct 10, 2025 |
| Huawei Euleros 2_0_sp11 | — | Upgrade git-helpUpgrade git | Oct 14, 2025 | Oct 10, 2025 |
| Huawei Euleros 2_0_sp12 | — | Upgrade git-coreUpgrade gitUpgrade git-help | Nov 12, 2025 | Oct 10, 2025 |
| Huawei Euleros 2_0_sp13 | — | Upgrade git-coreUpgrade git-helpUpgrade git | Oct 24, 2025 | Oct 10, 2025 |
| Microsoft Visual_studio | — | Update Microsoft Visual Studio 2017 to the latest version in the LTSC 15.9 version stream, or upgrade to a newer supported version of Visual Studio 2017.Update Microsoft Visual Studio 2022 to the latest version in the LTSC 17.10 version stream, or upgrade to a newer supported version of Visual Studio 2022.Update Microsoft Visual Studio 2022 to the latest version in the LTSC 17.12 version stream, or upgrade to a newer supported version of Visual Studio 2022.Update Microsoft Visual Studio 2019 to the latest version in the LTSC 16.11 version stream, or upgrade to a newer supported version of Visual Studio 2019.Update Microsoft Visual Studio 2022 to the latest version in the current channel channel.Update Microsoft Visual Studio 2022 to the latest version in the LTSC 17.8 version stream, or upgrade to a newer supported version of Visual Studio 2022. | Jul 10, 2025 | Jul 8, 2025 |
| Oracle_linux | — | Upgrade gitwebUpgrade git-instawebUpgrade git-core-docUpgrade perl-GitUpgrade git-guiUpgrade git-daemonUpgrade git-allUpgrade git-coreUpgrade git-emailUpgrade gitkUpgrade git-credential-libsecretUpgrade gitUpgrade git-subtreeUpgrade git-svnUpgrade perl-Git-SVN | Jul 23, 2025 | Jul 8, 2025 |
| Redhat_linux | — | Upgrade git-daemon-debuginfoUpgrade git-debugsourceUpgrade gitUpgrade git-svnUpgrade git-credential-libsecret-debuginfoUpgrade gitwebUpgrade git-coreUpgrade perl-GitUpgrade git-daemonUpgrade perl-Git-SVNUpgrade git-credential-libsecretUpgrade git-subtreeUpgrade git-debuginfoUpgrade git-core-debuginfoNo solution existsUpgrade git-allUpgrade git-core-docUpgrade gitkUpgrade git-guiUpgrade git-instawebUpgrade git-email | Jul 11, 2025 | Jul 8, 2025 |
| Rocky_linux | — | Upgrade git-credential-libsecret-debuginfoUpgrade git-core-debuginfoUpgrade git-debuginfoUpgrade git-subtreeUpgrade git-daemonUpgrade git-daemon-debuginfoUpgrade git-debugsourceUpgrade gitUpgrade git-coreUpgrade git-credential-libsecret | Feb 5, 2026 | Jul 29, 2025 |
| Suse | — | Upgrade gitkUpgrade git-guiUpgrade git-emailUpgrade git-daemonUpgrade git-p4Upgrade git-cvsUpgrade git-archUpgrade perl-GitUpgrade git-credential-libsecretUpgrade git-svnUpgrade git-lfsUpgrade gitUpgrade git-webUpgrade git-docUpgrade git-core | Dec 5, 2025 | Jul 22, 2025 |
| Ubuntu | — | Upgrade git-guiUpgrade gitk (Ubuntu Pro)Upgrade git (Ubuntu Pro)Upgrade gitkUpgrade git-gui (Ubuntu Pro)Upgrade git | Jul 9, 2025 | Jul 8, 2025 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Aug 19, 2025 | Jul 10, 2025 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub