Affected versions
Ubuntu26.10/python-git
- Affected versions
- * || =3.1.46-1 || =3.1.50-1 || =3.1.61-1
- Fixed version
- Not reported
UbuntuPro:14.04:LTS/python-git
- Affected versions
- Unknown
- Fixed version
- Not reported
UbuntuPro:16.04:LTS/python-git
- Affected versions
- Unknown
- Fixed version
- Not reported
UbuntuPro:18.04:LTS/python-git
- Affected versions
- Unknown
- Fixed version
- Not reported
UbuntuPro:20.04:LTS/python-git
- Affected versions
- Unknown
- Fixed version
- Not reported
UbuntuPro:22.04:LTS/python-git
- Affected versions
- Unknown
- Fixed version
- Not reported
UbuntuPro:24.04:LTS/python-git
- Affected versions
- Unknown
- Fixed version
- Not reported
UbuntuPro:26.04:LTS/python-git
- Affected versions
- Unknown
- Fixed version
- Not reported
Description
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.

