Incomplete List of Disallowed Inputs Affecting gitpython package, versions [,3.1.54)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-GITPYTHON-18306817
  • published25 Jul 2026
  • disclosed24 Jul 2026
  • creditmanus-use

Introduced: 24 Jul 2026

New CVE NOT AVAILABLE CWE-184  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade GitPython to version 3.1.54 or higher.

Overview

GitPython is a python library used to interact with Git repositories

Affected versions of this package are vulnerable to Incomplete List of Disallowed Inputs via the clone_from process. An attacker can execute arbitrary commands by supplying a crafted directory containing malicious hooks as the template parameter during a clone operation. This is only exploitable if the attacker can provide a directory with executable hooks accessible to the target system, such as through shared filesystems, upload directories, or attacker-writable network paths.

CVSS Base Scores

version 4.0
version 3.1