PT-2026-78402 · Pypi+1 · Gitpython+1
CVSS v2.0
9.0
High
| Vector | AV:N/AC:L/Au:S/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
GitPython versions prior to 3.1.58
Description
A command execution issue exists in the
check unsafe options guard. This guard can be bypassed by combining a single-character kwarg with split single char options=False. An attacker can provide a crafted kwargs dictionary to guarded methods, such as clone from(), to emit a joined token that is parsed as --upload-pack, allowing arbitrary OS command execution even when allow unsafe options is set to False.Recommendations
Update GitPython to version 3.1.58 or later.
Exploit
Fix
Argument Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Gitpython
Red Os