CVE-20XX-?

Gitpython Project Gitpython CVEs.

Published CVEs affecting Gitpython Project Gitpython, ranked by exploit odds.

3 CVEs · updated 2026-11-06 09:09 UTC

Reset all
  1. CVE-2026-42215

    GitPython is a python library used to interact with Git repositories. From version 3.1.30 to before version 3.1.47, GitPython blocks dangerous Git options such as --upload-pack and --receive-pack by default, but the equivalent Python kwargs upload_pack and receive_pack bypass that check. If an application passes attacker-controlled kwargs into Repo.clone_from(), Remote.fetch(), Remote.pull(), or Remote.push(), this leads to arbitrary command execution even when allow_unsafe_options is left at its default value of False. This issue has been patched in version 3.1.47.

    Injection Library Gitpython Project Gitpython

    8.8 HIGH 0.7% exploit odds Fix listed
  2. CVE-2026-42284

    GitPython is a python library used to interact with Git repositories. Prior to version 3.1.47, _clone() validates multi_options as the original list, then executes shlex.split(" ".join(multi_options)). A string like "--branch main --config core.hooksPath=/x" passes validation (starts with --branch), but after split becomes ["--branch", "main", "--config", "core.hooksPath=/x"]. Git applies the config and executes attacker hooks during clone. This issue has been patched in version 3.1.47.

    Other Library Gitpython Project Gitpython

    8.1 HIGH 0.6% exploit odds Fix listed
  3. CVE-2026-44243

    GitPython is a python library used to interact with Git repositories. Prior to version 3.1.48, a vulnerability in GitPython allows attackers who can supply a crafted reference path to an application using GitPython to write, overwrite, move, or delete files outside the repository’s .git directory via insufficient validation of reference paths in reference creation, rename, and delete operations. This issue has been patched in version 3.1.48.

    Disclosure Library Gitpython Project Gitpython

    7.8 HIGH 0.4% exploit odds Fix listed

All CVEs affecting Gitpython Project Gitpython that appear in CVE.org and NVD, sorted by how likely they are to be exploited (EPSS), with fix status and timeline.