jiratui · GitPython: arbitrary file read via attacker-controlled branch name in `Head.checkout()` (incomplete fix of
Affects jiratuiSource GCVE Database
Not known to be exploited · CVSS 8.7 High.
Data as of 30 Oct 2026, 08:45 UTC
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 14 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewjiratuipkg:brew/jiratuiOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
As of the information provided, no explicit patch or fixed version is mentioned for this vulnerability. The vulnerability affects all published releases up to 3.1.62 and the main branch at commit 4905b4af. Until a fix is available, avoid cloning untrusted repositories or performing checkout operations on branches with untrusted names. Review and update usage of Head.checkout() to ensure positional arguments are properly sanitized or avoided.
Description
GitPython versions up to 3.1.62 contain a vulnerability in the Head.checkout() method where an attacker-controlled branch name can be used to perform an arbitrary file read. This occurs because the branch name is passed as a positional argument to git checkout without proper sanitization or argument separation, allowing injection of git options such as --pathspec-from-file. An attacker who can cause the application to clone a repository they control with a malicious default branch name can exploit this to read any file accessible to the application process, such as /etc/passwd. The vulnerability is a partial regression of previous fixes and affects all published releases up to 3.1.62 and the main branch at commit 4905b4af.
References
- github.com/gitpython-developers/GitPython/security/advisories/GHSA-23mf-xhv8-69c2 (opens in a new tab)
- github.com/gitpython-developers/GitPython/pull/2233 (opens in a new tab)
- github.com/gitpython-developers/GitPython/commit/8da65080849a56a2fc9f3e7817bbf0524e8397d5 (opens in a new tab)
- github.com/gitpython-developers/GitPython (opens in a new tab)
- github.com/gitpython-developers/GitPython/releases/tag/3.2.0 (opens in a new tab)