CVE-2025-27614
JSON

8.6high

Gitk allows arbitrary command execution

Severity
8.6high CVSS:3.1 by GitHub_M
Exploit likelihood
0.43% (higher than 38% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

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.

Affected

Product or packageVersionsReported by
j6t gitk>= 2.41.0, < 2.43.7, >= 2.44.0, < 2.44.4, >= 2.45.0, < 2.45.4, >= 2.46.0, < 2.46.4, >= 2.47.0, < 2.47.3, >= 2.48.0, < 2.48.2, >= 2.49.0, < 2.49.1, >= 2.50.0, < 2.50.1CVE List

Classification

CWE-78

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Gitk es un explorador de historial de Git basado en Tcl/Tk. A partir de la versión 2.41.0, se puede manipular un repositorio Git de forma que, mediante ingeniería social, se pueda engañar a un usuario que lo haya clonado para que ejecute cualquier script (p. ej., Bourne Shell, Perl, Python, etc.) proporcionado por el atacante invocando gitk filename, donde filename tiene una estructura específica. El script se ejecuta con los privilegios del usuario. Esta vulnerabilidad está corregida en las versiones 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.3, 2.48.2, 2.49.1 y 2.50.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-27614 changed 2025-11-04CVE Terms of Use
NVDCVE-2025-27614 changed 2026-06-17Public domain