JLSEC-2026-2406: High severity julia/git_jll vulnerability
Git for Windows is the Windows port of the revision control system Git. Prior to Git for Windows version 2.39.2, when gitk is run on Windows, it potentially runs executables from the current directory inadvertently, which can be exploited with some social engineering to trick users into running untrusted code. A patch is available in version 2.39.2. As a workaround, avoid using gitk (or Git GUI's "Visualize History" functionality) in clones of untrusted repositories.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/Git_jllto a version that resolves this vulnerability.Fixed in 2.42.0+0 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.39.2 - Compensating control
Avoid using gitk or Git GUI's "Visualize History" functionality in clones of untrusted repositories.
Event History
Frequently Asked Questions
Who is exposed to this issue?
Windows users of Git for Windows prior to version 2.39.2 are exposed when they run gitk, including through Git GUI's "Visualize History" functionality, in a clone of an untrusted repository.
What does an attacker need to exploit it?
The attacker needs to persuade a user to run gitk or Git GUI's history visualization in a repository containing an executable that can be run from the current directory. The attack requires user interaction but no privileges.
What should be done if updating is not immediately possible?
Avoid using gitk and Git GUI's "Visualize History" functionality in clones of untrusted repositories. Update Git for Windows to version 2.39.2 when possible.