Description
GitPython before 3.1.54 contains an incomplete denylist in unsafe_git_clone_options that omits --template, allowing attackers to achieve arbitrary command execution during clone operations. Attackers can supply --template pointing to a directory containing malicious post-checkout hooks that execute when git clones the repository.
CVSS 7.5EPSS 0.6930000000000001%Risk 0.8
View source- Published
- 2026-08-13 12:17:27
- Affected versions
- <3.1.54
- Type
- Library
- Last modified
- 2026-08-15 04:18:26
- Vector
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H