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…
- ALPINE-EDGE-CVE-2026-76218
- CGA-38rm-9gmc-gm8j
- CGA-5w76-w5jj-gcwr
- CGA-6w8q-f93h-h6g4
- CGA-9rr4-mj9r-vmr3
- CGA-jhrc-3hmx-rf9v
- CGA-jx52-m2x7-9qh2
- CGA-mfc4-cj8f-wf5j
-
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…
-
DLA-4872-1
python-git - security update
-
DSA-6594-1
python-git - security update
-
GHSA-9rj7-rf2p-w77r
GitPython: Unguarded git option forwarding in Repo.init enables arbitrary command execution via --template clone hooks
-
OESA-2026-3699
python-GitPython security update
-
OESA-2026-3700
python-GitPython security update
-
OESA-2026-3721
python-GitPython security update
-
PYSEC-2026-3840
GitPython: Unguarded git option forwarding in Repo.init enables arbitrary command execution via --template clone hooks
-
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-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…
-
openSUSE-SU-2026:21874-1
Security update for python-GitPython