Read the docs
TI-2025-20422 Aliases CVE-2025-27613

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

Priority LOW 18CWE-78Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
None · Low · None
Fix status
Partial Red Hat: 3 fixed, 2 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-78.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00601 49th percentileScored 2026-11-07
Fix Partial gitk (j6t): 2.43.7, 2.44.4, 2.45.4 +5Red Hat: 3 advisoriesRed Hat: 3 fixed, 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
j6tgitk1.7.0 to before 2.43.7; 2.44.0 to before 2.44.4; 2.45.0 to before 2.45.4; 2.46.0 to before 2.46.4; 2.47.0 to before 2.47.3; 2.48.0 to before 2.48.2; 2.49.0 to before 2.49.1; 2.50.0 to before 2.50.12.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.3, 2.48.2, 2.49.1, 2.50.1Patch availableCNA
  • gitk Vendorj6t Affected 1.7.0 to before 2.43.7; 2.44.0 to before 2.44.4; 2.45.0 to before 2.45.4; 2.46.0 to before 2.46.4; 2.47.0 to before 2.47.3; 2.48.0 to before 2.48.2; 2.49.0 to before 2.49.1; 2.50.0 to before 2.50.1 Fixed in 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.3, 2.48.2, 2.49.1, 2.50.1 Patch available CNA

Remediation

  • Fix · CNA gitk (j6t) Fixed in 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.3, 2.48.2, 2.49.1, 2.50.1

Red Hat 3 advisories

  • RHSA-2025:11534 Released 2025-07-23 · Red Hat rating Important
    git security update
    • Red Hat Enterprise Linux AppStream (v. 8) git-2.43.7-1.el8_10, git-all-2.43.7-1.el8_10, git-core-2.43.7-1.el8_10 +12
  • RHSA-2025:11533 Released 2025-07-22 · Red Hat rating Important
    git security update
    • Red Hat Enterprise Linux AppStream (v. 10) git-2.47.3-1.el10_0, git-all-2.47.3-1.el10_0, git-core-2.47.3-1.el10_0 +12
  • RHSA-2025:11462 Released 2025-07-21 · Red Hat rating Important
    git security update
    • Red Hat Enterprise Linux AppStream (v. 9) git-2.47.3-1.el9_6, git-all-2.47.3-1.el9_6, git-core-2.47.3-1.el9_6 +12

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux AppStream (v. 10)Fixed RHSA-2025:11533
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2025:11534
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2025:11462

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-27613

References

  • TI-2025-29464 Git GUI can create and overwrite files for which the user has write permission CVSS 3.1HIGH 8.5
  • TI-2025-20423 Gitk allows arbitrary command execution CVSS 3.1HIGH 8.6
  • TI-2025-29075 Git GUI malicious command injection on Windows CVSS 3.1HIGH 8.6

Sources