7.5Hoch
CVE-2026-110859GitPython before 3.2.0 Arbitrary File Read via Head.checkout() Branch Name
Beschreibung
GitPython before 3.2.0 contains an argument injection vulnerability in Head.checkout() that allows remote attackers to read arbitrary files by supplying a branch name parsed as a git option. Attackers can host a repository whose default branch is named --pathspec-from-file=<path>, causing cloning applications that check out the active branch to leak file contents through GitCommandError messages.
Schwachstellentyp (CWE):
CWE-88
Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.
Betroffene Produkte und Versionen
| Hersteller | Produkt | Versionen | |
|---|---|---|---|
| gitpython project | gitpython | < 3.2.0 | |
| gitpython-developers | GitPython | < 3.2.0, fixed 3.2.0 |
Referenzen und Patches
- GitHub Security Advisory (GHSA-23mf-xhv8-69c2) vendor-advisory
- VulnCheck Advisory: GitPython before 3.2.0 Arbitrary File Read via Head.checkout() Branch Name third-party-advisory