CVE-2026-67323
Published:August 01, 2026
Updated:August 04, 2026
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.
Affected Packages
gitpython (CONDA):
Affected version(s) >=1.0.1 <3.1.51Fix Suggestion:
Update to version 3.1.51https://github.com/gitpython-developers/GitPython.git (GITHUB):
Affected version(s) >=0.1.4-pre <3.1.51Fix Suggestion:
Update to version 3.1.51gitpython (PYTHON):
Affected version(s) >=0.1.7 <3.1.51Fix Suggestion:
Update to version 3.1.51Related Resources (8)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.6
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.4
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
EPSS
Base Score:
1.02