Gitk allows arbitrary command execution
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 3 fixed, 3 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 2.41.0, a Git repository can be crafted in such a way that with some social engineering a user who has cloned the repository can be tricked into running any script (e.g., Bourne shell, Perl, Python, ...) supplied by the attacker by invoking gitk filename, where filename has a particular structure. The script is run with the privileges of the user. 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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
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 | 2.41.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 2.41.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 OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| 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-27614
- 2026-10-11 Priority changed: LOW → MEDIUM
References
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-29075 Git GUI malicious command injection on Windows CVSS 3.1HIGH 8.6
- TI-2025-20422 Gitk can create and truncate files in the user's home directory CVSS 3.1LOW 3.6
Sources
- CVE-2025-27614 · CVE Program
- CVE-2025-27614 · NVD
- FIRST EPSS
- CVE-2025-27614 · 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