ADVISORIES

Vulnerability

CVE-2026-114145

GitPython is a python library used to interact with Git repositories. Prior to 3.2.1, create_submodule() in git/objects/submodule/base.py accepts an attacker-influenced submodule path such as .git/hooks and invokes _clone_repo() before safely rejecting the destination. In 3.1.x, _validate_repo_path() does not exist and the call succeeds silently, while in 3.2.0 and later affected revisions the check in git/index/base.py raises ValueError only after the clone has written to disk and does not remove the planted file. An attacker-controlled submodule can therefore place an executable post-checkout hook that a later Git operation executes. Exploitation requires an application to accept an untrusted submodule path and a clone destination such as .git/hooks that is empty enough for Git to clone into it, which commonly means that default sample hooks are absent. This issue is fixed in version 3.2.1.

27 advisories report this vulnerability, across 7 ecosystems.

Advisories

  • CGA-2fx8-fghj-v7qx
    CVE-2026-114145 Chainguard Updated 25 October 2026
  • CGA-3qqw-84q5-66j4
    CVE-2026-114145 Chainguard Updated 25 October 2026
  • CGA-4mc4-35hm-h98p
    CVE-2026-114145 Chainguard Updated 25 October 2026
  • CGA-4xgm-7fvf-4qcm
    CVE-2026-114145 Chainguard Updated 2 November 2026
  • CGA-5r4g-434v-grg8
    CVE-2026-114145 Chainguard Updated 26 October 2026
  • CGA-6j5v-326w-27qf
    CVE-2026-114145 Chainguard Updated 25 October 2026
  • CGA-h275-rwv4-2wh6
    CVE-2026-114145 Chainguard Updated 25 October 2026
  • CGA-hqj4-88rm-jr32
    CVE-2026-114145 Chainguard Updated 25 October 2026
  • CGA-jcpr-mr9j-68gq
    CVE-2026-114145 Chainguard Updated 3 November 2026
  • CGA-m4cj-mfmm-q723
    CVE-2026-114145 Chainguard Updated 28 October 2026
  • CGA-mp3f-h3p4-wg62
    CVE-2026-114145 Chainguard Updated 3 November 2026
  • CGA-r76p-2jm3-v4gh
    CVE-2026-114145 Chainguard Updated 3 November 2026
  • CGA-vf27-463g-m88j
    CVE-2026-114145 Chainguard Updated 27 October 2026
  • CGA-w7c8-65r3-637f
    CVE-2026-114145 Chainguard Updated 3 November 2026
  • CGA-wqw6-3r4j-qj8c
    CVE-2026-114145 Chainguard Updated 27 October 2026
  • DEBIAN-CVE-2026-114145

    GitPython is a python library used to interact with Git repositories. Prior to 3.2.1, create_submodule() in git/objects/submodule/base.py accepts an attacker-influenced submodule path such as .git/hooks and invokes…

    CVE-2026-114145 Debian Updated 31 October 2026
  • DLA-4872-1

    python-git - security update

    CVE-2026-100689CVE-2026-110855CVE-2026-110856CVE-2026-110857 Debian Updated 20 November 2026
  • DSA-6594-1

    python-git - security update

    CVE-2026-42215CVE-2026-42284CVE-2026-44243CVE-2026-44244 Debian Updated 20 November 2026
  • GHSA-83vg-56qc-22m7

    GitPython validates a submodule's ".git" path only after cloning into it (RCE)

    High CVE-2026-114145 PyPI Updated 22 October 2026
  • RHSA-2026:100715

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update

    CVE-2026-102278CVE-2026-102925CVE-2026-102930CVE-2026-102937 Red Hat Updated 24 November 2026
  • RHSA-2026:92861

    Red Hat Security Advisory: Satellite 6.19 security update

    Known exploited CVE-2026-110856CVE-2026-110857CVE-2026-110858CVE-2026-110859 Red Hat Updated 24 November 2026
  • RHSA-2026:95655

    Red Hat Security Advisory: Satellite 6.16 EUS security update

    Known exploited CVE-2026-104895CVE-2026-110264CVE-2026-110856CVE-2026-110857 Red Hat Updated 24 November 2026
  • RHSA-2026:95656

    Red Hat Security Advisory: Satellite 6.17 security update

    Known exploited CVE-2026-104895CVE-2026-110264CVE-2026-110856CVE-2026-110857 Red Hat Updated 24 November 2026
  • RHSA-2026:95657

    Red Hat Security Advisory: Satellite 6.18 security update

    Known exploited CVE-2026-104895CVE-2026-110264CVE-2026-110856CVE-2026-110857 Red Hat Updated 24 November 2026
  • SUSEVEX-CVE-2026-114145

    GitPython is a python library used to interact with Git repositories. Prior to 3.2.1, create_submodule() in git/objects/submodule/base.py accepts an attacker-influenced submodule path such as .git/hooks and invokes…

    Important CVE-2026-114145 SUSEopenSUSE Updated 7 November 2026
  • UBUNTU-CVE-2026-114145

    GitPython is a python library used to interact with Git repositories. Prior to 3.2.1, create_submodule() in git/objects/submodule/base.py accepts an attacker-influenced submodule path such as .git/hooks and invokes…

    CVE-2026-114145 Ubuntu Updated 28 October 2026
  • openSUSE-SU-2026:12391-1

    python313-GitPython-3.2.1-1.1 on GA media

    CVE-2026-110855CVE-2026-110856CVE-2026-110857CVE-2026-110858 openSUSE Updated 3 November 2026

References