Arbitrary command execution via malformed Tcl list
Published Jul 10, 2025 · Updated Nov 4, 2025
OS command injection in affected Gitk 2.41.0 through 2.50.0 releases allows local users to execute attacker-supplied scripts via a crafted filename. Gitk passes newline-joined revision and file values into Tcl open without encoding the aggregate input as one list element, allowing Tcl list syntax to introduce executable arguments. Exploitation requires a cloned malicious repository and social engineering that causes the user to invoke gitk with the crafted filename; the script runs with that user's privileges.
Summary
What happened
OS command injection in affected Gitk 2.41.0 through 2.50.0 releases allows local users to execute attacker-supplied scripts via a crafted filename. Gitk passes newline-joined revision and file values into Tcl open without encoding the aggregate input as one list element, allowing Tcl list syntax to introduce executable arguments. Exploitation requires a cloned malicious repository and social engineering that causes the user to invoke gitk with the crafted filename; the script runs with that user's privileges.
The record
- CVE
- CVE-2025-27614
- Published
- Jul 10, 2025
- Updated
- Nov 4, 2025
- Vendor
- Johannes Sixt
- Product
- Gitk
- Classifications
- CWE-78, T1204.002
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 10, 2025CVE publishedPublication date reported by the CVE source.
- Nov 4, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 2.41.0, < 2.43.7
- Affected versionversion=>= 2.44.0, < 2.44.4
- Affected versionversion=>= 2.45.0, < 2.45.4
- Affected versionversion=>= 2.46.0, < 2.46.4
- Affected versionversion=>= 2.47.0, < 2.47.3
- Affected versionversion=>= 2.48.0, < 2.48.2
- Affected versionversion=>= 2.49.0, < 2.49.1
- Affected versionversion=>= 2.50.0, < 2.50.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo