Vulnerability
CVE-2026-67325
GitPython before 3.1.51 contains an incomplete command injection blocklist that fails to account for git's long-option prefix abbreviation feature. Attackers can bypass the unsafe options guard by using abbreviated option names like upload_p instead of upload_pack, which git resolves to dangerous options and executes arbitrary commands.
34 advisories report this vulnerability, across 9 ecosystems.
Advisories
- CGA-28p5-cvm7-29rv
- CGA-2cf5-f2fv-vc3q
- CGA-32xf-47vw-977j
- CGA-34g2-8p9m-rq2f
- CGA-45m9-pxpv-wvw2
- CGA-486j-42h3-v2rx
- CGA-7wr7-v62g-5jv5
- CGA-95qv-hcp6-9fcj
- CGA-cm28-99qg-jc3f
- CGA-cw2v-3r5g-7frv
- CGA-mfpm-q9f3-2292
- CGA-r8p2-9hq7-cgp4
- CGA-rj27-q3f3-5hxx
- CGA-v96x-59m6-8q7f
-
DEBIAN-CVE-2026-67325
GitPython before 3.1.51 contains an incomplete command injection blocklist that fails to account for git's long-option prefix abbreviation feature. Attackers can bypass the unsafe options guard by using abbreviated…
-
DLA-4872-1
python-git - security update
-
DSA-6594-1
python-git - security update
-
GHSA-2f96-g7mh-g2hx
GitPython: Command Injection via git long-option prefix abbreviation bypass of CVE-2026-42215 blocklist
-
OESA-2026-3249
python-GitPython security update
-
OESA-2026-3250
python-GitPython security update
-
OESA-2026-3251
python-GitPython security update
-
PYSEC-2026-3836
GitPython: Command Injection via git long-option prefix abbreviation bypass of CVE-2026-42215 blocklist
-
RHSA-2026:44416
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
RHSA-2026:45785
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
-
RHSA-2026:45940
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
RHSA-2026:59135
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update
-
RHSA-2026:59136
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update
-
RHSA-2026:71113
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update
-
RHSA-2026:71114
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update
-
SUSE-SU-2026:4072-1
Security update for python-GitPython
-
SUSEVEX-CVE-2026-67325
GitPython before 3.1.51 contains an incomplete command injection blocklist that fails to account for git's long-option prefix abbreviation feature. Attackers can bypass the unsafe options guard by using abbreviated…
-
UBUNTU-CVE-2026-67325
GitPython before 3.1.51 contains an incomplete command injection blocklist that fails to account for git's long-option prefix abbreviation feature. Attackers can bypass the unsafe options guard by using abbreviated…
-
openSUSE-SU-2026:11466-1
python313-GitPython-3.1.58-1.1 on GA media
-
openSUSE-SU-2026:21874-1
Security update for python-GitPython