CVE-2026-110859
highGitPython before 3.2.0 contains an argument injection vulnerability in Head.checkout() that allows remote attackers to read arbitrary files by supplying a bran…
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=, causing cloning applications that check out the active branch to leak file contents through GitCommandError messages.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-23mf-xhv8-69c2 disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/gitpython-before-3.2.0-arbitrary-file-read-via-head-c... disclosure@vulncheck.com
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-23mf-xhv8-69c2 134c704f-9b21-4f2e-91b3-4a467353bcc0
