CVE-2026-67323
HIGHGitPython before 3.1.51 Command Injection via unguarded Git options
Title source: cnaDescription
GitPython before 3.1.51 fails to guard against dangerous Git options passed as keyword arguments in Repo.archive() and git.ls_remote(), allowing command injection via options such as --exec/--upload-pack (leading to arbitrary command execution). Additionally, Repo.iter_commits() and Repo.blame() do not check for leading-dash revision arguments, so a revision like --output=<path> can cause Git to open and truncate an arbitrary file. Exploitation requires an application that passes attacker-controlled arguments to these methods.
References (2)
Core 2
Core References
Vendor Advisory vendor-advisory
GitHub Security Advisory (GHSA-956x-8gvw-wg5v)
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-956x-8gvw-wg5v
Third Party Advisory third-party-advisory
VulnCheck Advisory: GitPython before 3.1.51 Command Injection via unguarded Git options
https://www.vulncheck.com/advisories/gitpython-before-command-injection-via-unguarded-git-options
Scores
CVSS v3
8.4
EPSS
0.0102
EPSS Percentile
60.1%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
total
Details
CWE
CWE-77
Status
published
Products (2)
gitpython-developers/GitPython
< 3.1.51
gitpython-developers/GitPython
3.1.51
Published
Aug 01, 2026
Tracked Since
Aug 01, 2026