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…
- ALPINE-EDGE-CVE-2026-76222
- CGA-2459-vxvm-j4f8
- CGA-4m9q-xxr8-rv22
- CGA-4p4h-5q93-cm4p
- CGA-cg7g-2p4p-h3wc
- CGA-fcgw-fhhw-hf47
- CGA-p4h9-g7xp-g34r
- CGA-qw63-r485-23hp
-
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…
-
DLA-4872-1
python-git - security update
-
DSA-6594-1
python-git - security update
-
GHSA-hmq2-w58f-27jc
GitPython: Arbitrary Git Repository Creation Outside the Working Tree via Unvalidated .gitmodules Submodule Name in GitPython
-
OESA-2026-3699
python-GitPython security update
-
OESA-2026-3700
python-GitPython security update
-
OESA-2026-3721
python-GitPython security update
-
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…
-
RHSA-2026:63385
Red Hat Security Advisory: Satellite 6.19.4 Async Update
-
SUSE-SU-2026:4072-1
Security update for python-GitPython
-
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…
-
openSUSE-SU-2026:11566-1
python313-GitPython-3.1.59-2.1 on GA media
-
openSUSE-SU-2026:21874-1
Security update for python-GitPython