ADVISORIES

Vulnerability

CVE-2026-76218

GitPython before 3.1.58 contains a remote code execution vulnerability in Repo.init that forwards unsafe git options without validation. Attackers can supply a template parameter pointing to a directory with malicious git hooks that execute arbitrary code when git operations are performed on the initialized repository.

21 advisories report this vulnerability, across 10 ecosystems.

Advisories

  • ALPINE-CVE-2026-76218

    GitPython before 3.1.58 contains a remote code execution vulnerability in Repo.init that forwards unsafe git options without validation. Attackers can supply a template parameter pointing to a directory with malicious…

    CVE-2026-76218 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2026-76218
    CVE-2026-76218 Alpine Updated 18 November 2026
  • CGA-38rm-9gmc-gm8j
    CVE-2026-76218 Chainguard Updated 5 November 2026
  • CGA-5w76-w5jj-gcwr
    CVE-2026-76218 Chainguard Updated 5 November 2026
  • CGA-6w8q-f93h-h6g4
    CVE-2026-76218 ChainguardWolfi Updated 5 November 2026
  • CGA-9rr4-mj9r-vmr3
    CVE-2026-76218 Chainguard Updated 5 November 2026
  • CGA-jhrc-3hmx-rf9v
    CVE-2026-76218 Chainguard Updated 5 November 2026
  • CGA-jx52-m2x7-9qh2
    CVE-2026-76218 ChainguardWolfi Updated 5 November 2026
  • CGA-mfc4-cj8f-wf5j
    CVE-2026-76218 Chainguard Updated 5 November 2026
  • DEBIAN-CVE-2026-76218

    GitPython before 3.1.58 contains a remote code execution vulnerability in Repo.init that forwards unsafe git options without validation. Attackers can supply a template parameter pointing to a directory with malicious…

    CVE-2026-76218 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-9rj7-rf2p-w77r

    GitPython: Unguarded git option forwarding in Repo.init enables arbitrary command execution via --template clone hooks

    High CVE-2026-76218 PyPI Updated 10 September 2026
  • OESA-2026-3699

    python-GitPython security update

    Critical CVE-2026-73619CVE-2026-73620CVE-2026-73621CVE-2026-73622 openEuler Updated 5 September 2026
  • OESA-2026-3700

    python-GitPython security update

    Critical CVE-2026-73619CVE-2026-73620CVE-2026-73621CVE-2026-73622 openEuler Updated 5 September 2026
  • OESA-2026-3721

    python-GitPython security update

    Critical CVE-2026-73619CVE-2026-73620CVE-2026-73621CVE-2026-73622 openEuler Updated 13 September 2026
  • PYSEC-2026-3840

    GitPython: Unguarded git option forwarding in Repo.init enables arbitrary command execution via --template clone hooks

    CVE-2026-76218 PyPI Updated 10 September 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
  • 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-76218

    GitPython before 3.1.58 contains a remote code execution vulnerability in Repo.init that forwards unsafe git options without validation. Attackers can supply a template parameter pointing to a directory with malicious…

    CVE-2026-76218 Ubuntu Updated 17 October 2026
  • openSUSE-SU-2026:21874-1

    Security update for python-GitPython

    CVE-2026-67322CVE-2026-67323CVE-2026-67325CVE-2026-67326 openSUSE Updated 25 September 2026

References