ADVISORIES

Vulnerability

CVE-2026-76222

GitPython before 3.1.58 fails to validate submodule names from .gitmodules files, allowing attackers to create Git repositories at arbitrary filesystem paths outside the intended clone directory. Attackers can craft malicious repositories with traversal sequences in submodule names that GitPython processes during submodule initialization, creating attacker-controlled Git repositories at escaped filesystem locations.

22 advisories report this vulnerability, across 10 ecosystems.

Advisories

  • ALPINE-CVE-2026-76222

    GitPython before 3.1.58 fails to validate submodule names from .gitmodules files, allowing attackers to create Git repositories at arbitrary filesystem paths outside the intended clone directory. Attackers can craft…

    CVE-2026-76222 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2026-76222
    CVE-2026-76222 Alpine Updated 18 November 2026
  • CGA-2459-vxvm-j4f8
    CVE-2026-76222 Chainguard Updated 5 November 2026
  • CGA-4m9q-xxr8-rv22
    CVE-2026-76222 Chainguard Updated 5 November 2026
  • CGA-4p4h-5q93-cm4p
    CVE-2026-76222 ChainguardWolfi Updated 5 November 2026
  • CGA-cg7g-2p4p-h3wc
    CVE-2026-76222 ChainguardWolfi Updated 5 November 2026
  • CGA-fcgw-fhhw-hf47
    CVE-2026-76222 Chainguard Updated 5 November 2026
  • CGA-p4h9-g7xp-g34r
    CVE-2026-76222 Chainguard Updated 5 November 2026
  • CGA-qw63-r485-23hp
    CVE-2026-76222 Chainguard Updated 5 November 2026
  • DEBIAN-CVE-2026-76222

    GitPython before 3.1.58 fails to validate submodule names from .gitmodules files, allowing attackers to create Git repositories at arbitrary filesystem paths outside the intended clone directory. Attackers can craft…

    CVE-2026-76222 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-hmq2-w58f-27jc

    GitPython: Arbitrary Git Repository Creation Outside the Working Tree via Unvalidated .gitmodules Submodule Name in GitPython

    High CVE-2026-76222 PyPI Updated 8 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-3784

    GitPython before 3.1.58 fails to validate submodule names from .gitmodules files, allowing attackers to create Git repositories at arbitrary filesystem paths outside the intended clone directory. Attackers can craft…

    CVE-2026-76222 PyPI Updated 3 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-76222

    GitPython before 3.1.58 fails to validate submodule names from .gitmodules files, allowing attackers to create Git repositories at arbitrary filesystem paths outside the intended clone directory. Attackers can craft…

    CVE-2026-76222 Ubuntu Updated 17 October 2026
  • openSUSE-SU-2026:11566-1

    python313-GitPython-3.1.59-2.1 on GA media

    CVE-2026-73619CVE-2026-73620CVE-2026-73621CVE-2026-73623 openSUSE Updated 22 August 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