ADVISORIES

Vulnerability

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.

36 advisories report this vulnerability, across 10 ecosystems.

Advisories

  • ALPINE-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…

    CVE-2026-42215 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2026-42215
    CVE-2026-42215 Alpine Updated 18 November 2026
  • CGA-36f4-q2xc-4mrm
    CVE-2026-42215 Chainguard Updated 5 November 2026
  • CGA-5fhg-8jgp-9h8j
    CVE-2026-42215 Chainguard Updated 5 November 2026
  • CGA-5frm-5q55-39hw
    CVE-2026-42215 ChainguardWolfi Updated 5 November 2026
  • CGA-6q5g-r7m5-p2h2
    CVE-2026-42215 Chainguard Updated 5 November 2026
  • CGA-8w65-44qv-r5cj
    CVE-2026-42215 ChainguardWolfi Updated 5 November 2026
  • CGA-8wjg-rm5q-rgcj
    CVE-2026-42215 Chainguard Updated 5 November 2026
  • CGA-9w48-226r-mggw
    CVE-2026-42215 Chainguard Updated 5 November 2026
  • CGA-cqrp-4cxp-58vq
    CVE-2026-42215 Chainguard Updated 5 November 2026
  • CGA-j988-cq99-fmmp
    CVE-2026-42215 Chainguard Updated 5 November 2026
  • CGA-jcj2-247q-w8cv
    CVE-2026-42215 Chainguard Updated 5 November 2026
  • CGA-jrgh-m3vj-xr9c
    CVE-2026-42215 Chainguard Updated 5 November 2026
  • CGA-q845-jfm3-83jj
    CVE-2026-42215 Chainguard Updated 5 November 2026
  • CGA-rpxw-xpj8-xfpv
    CVE-2026-42215 Chainguard Updated 5 November 2026
  • CGA-v2m8-hrvg-w5vg
    CVE-2026-42215 Chainguard Updated 5 November 2026
  • CGA-vfp5-gxcx-7xwv
    CVE-2026-42215 ChainguardWolfi Updated 5 November 2026
  • CGA-vwm7-c3g3-g2w7
    CVE-2026-42215 ChainguardWolfi Updated 5 November 2026
  • DEBIAN-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…

    CVE-2026-42215 Debian Updated 12 November 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-rpm5-65cw-6hj4

    GitPython has Command Injection via Git options bypass

    High CVE-2026-42215 PyPI Updated 10 September 2026
  • OESA-2026-2306

    python-GitPython security update

    High CVE-2026-42215CVE-2026-44243CVE-2026-44244 openEuler Updated 18 August 2026
  • OESA-2026-2307

    python-GitPython security update

    High CVE-2026-42215CVE-2026-44243CVE-2026-44244 openEuler Updated 18 August 2026
  • OESA-2026-2308

    python-GitPython security update

    High CVE-2026-42215CVE-2026-44243CVE-2026-44244 openEuler Updated 18 August 2026
  • PYSEC-2026-2160

    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…

    CVE-2026-42215 PyPI Updated 13 July 2026
  • RHSA-2026:42078

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

    CVE-2026-11332CVE-2026-12382CVE-2026-12701CVE-2026-25681 Red Hat Updated 24 November 2026
  • RHSA-2026:42079

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

    CVE-2026-11332CVE-2026-12701CVE-2026-25681CVE-2026-27136 Red Hat Updated 24 November 2026
  • RHSA-2026:63385

    Red Hat Security Advisory: Satellite 6.19.4 Async Update

    CVE-2026-10051CVE-2026-11332CVE-2026-16493CVE-2026-34993 Red Hat Updated 24 November 2026
  • RHSA-2026:74504

    Red Hat Security Advisory: Satellite 6.18.10 Async Update

    CVE-2026-12405CVE-2026-12423CVE-2026-12540CVE-2026-12541 Red Hat Updated 23 November 2026
  • RHSA-2026:74505

    Red Hat Security Advisory: Satellite 6.17.12 Async Update

    CVE-2026-12405CVE-2026-12423CVE-2026-12540CVE-2026-12541 Red Hat Updated 23 November 2026
  • RHSA-2026:74506

    Red Hat Security Advisory: Satellite 6.16.14 Async Update

    CVE-2026-12405CVE-2026-12423CVE-2026-12540CVE-2026-12541 Red Hat Updated 23 November 2026
  • SUSE-SU-2026:4072-1

    Security update for python-GitPython

    CVE-2026-42215CVE-2026-42284CVE-2026-44243CVE-2026-44244 SUSE Updated 13 September 2026
  • UBUNTU-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…

    CVE-2026-42215 Ubuntu Updated 17 October 2026
  • USN-8303-1

    python-git vulnerabilities

    CVE-2023-41040CVE-2026-42215CVE-2026-42284CVE-2026-44243 Ubuntu Updated 27 May 2026
  • openSUSE-SU-2026:10758-1

    python311-GitPython-3.1.49-1.1 on GA media

    CVE-2026-42215CVE-2026-44243CVE-2026-44244 openSUSE Updated 13 May 2026

References