Gitk can create and truncate files in the user's home directory
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| j6t | gitk | 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 | 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 |
- 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 Importantgit 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 Importantgit 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 Importantgit 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 →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No 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
- 2026-10-02 Threatist record created from CVE-2025-27613
References
Other 3
- https://github.com/j6t/gitk/security/advisories/GHSA-f3cw-xrj3-wr2v
- https://github.com/j6t/gitk/compare/465f03869ae11acd04abfa1b83c67879c867410c..026c397d911cde55924d7eb1311d0fd6e2e105d5
- https://github.com/j6t/gitk/compare/7dd272eca153058da2e8d5b9960bbbf0b4f0cbaa..67a128b91e25978a15f9f7e194d81b441d603652
More j6t vulnerabilities
- 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
- CVE-2025-27613 · CVE Program
- CVE-2025-27613 · NVD
- FIRST EPSS
- CVE-2025-27613 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences