Description
GitPython before 3.1.58 contains a command execution vulnerability in the check_unsafe_options guard that can be bypassed by combining a single-character kwarg with split_single_char_options=False. Attackers can supply a crafted kwargs dictionary to guarded methods like clone_from to emit a joined token parsed as --upload-pack, enabling arbitrary OS command execution at default allow_unsafe_options=False.
CVSS 8.8EPSS 0.46299999999999997%Risk 0.92
View source- Published
- 2026-08-19 14:17:48
- Affected versions
- <3.1.58
- Type
- Library
- Last modified
- 2026-08-20 19:17:04
- Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H