CVE-2025-27614
CVE-2025-27614 · Gitk allows arbitrary command execution
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 8.6 · High · EPSS 0.4% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
gitk
- Versions
- >= 2.41.0, < 2.43.7: Affected
- >= 2.44.0, < 2.44.4: Affected
- >= 2.45.0, < 2.45.4: Affected
- >= 2.46.0, < 2.46.4: Affected
- >= 2.47.0, < 2.47.3: Affected
- >= 2.48.0, < 2.48.2: Affected
- >= 2.49.0, < 2.49.1: Affected
- >= 2.50.0, < 2.50.1: Affected
No fix published
git Debian:13
- Versions
- 1:2.47.2-0.2
- Affected ranges
- ECOSYSTEM: < 1:2.47.3-0+deb13u1
Update to 1:2.47.3-0+deb13u1
git Debian:14
- Versions
- 1:2.47.2-0.2
- 1:2.48.0~rc1+next.20250101-1
- 1:2.49.0+next.20250314-1
- 1:2.49.0-1
- 1:2.49.0-2
- 1:2.49.0-3
- 1:2.50.0+next.20250615-1
- 1:2.50.0-1
- 1:2.50.0~rc0+next.20250528-1
- Affected ranges
- ECOSYSTEM: < 1:2.50.1-0.1
Update to 1:2.50.1-0.1
git Ubuntu:24.04:LTS
- Versions
- 1:2.40.1-1ubuntu1
- 1:2.43.0-1ubuntu1
- 1:2.43.0-1ubuntu5
- 1:2.43.0-1ubuntu6
- 1:2.43.0-1ubuntu7
- 1:2.43.0-1ubuntu7.1
- 1:2.43.0-1ubuntu7.2
- Affected ranges
- ECOSYSTEM: < 1:2.43.0-1ubuntu7.3
Update to 1:2.43.0-1ubuntu7.3