Vulnerability
CVE-2026-67323
GitPython before 3.1.51 fails to guard against dangerous Git options passed as keyword arguments in Repo.archive() and git.ls_remote(), allowing command injection via options such as --exec/--upload-pack (leading to arbitrary command execution). Additionally, Repo.iter_commits() and Repo.blame() do not check for leading-dash revision arguments, so a revision like --output=<path> can cause Git to open and truncate an arbitrary file. Exploitation requires an application that passes attacker-controlled arguments to these methods.
33 advisories report this vulnerability, across 9 ecosystems.
Advisories
- CGA-2q45-x3x5-fwh5
- CGA-3232-2582-g274
- CGA-3fgg-vff9-mvf9
- CGA-6gh5-ggxg-qxgr
- CGA-72fh-6c97-83g4
- CGA-g65f-6ghm-qrpq
- CGA-g88f-3q92-6cjj
- CGA-ggq9-vcr4-8896
- CGA-m7ph-8q8v-qmx7
- CGA-mr97-r77j-8925
- CGA-mxx6-xfhj-hpcw
- CGA-r2h6-pwh9-wjmm
- CGA-rvgh-fg27-9c32
- CGA-wmx3-3jwh-rr5m
-
DEBIAN-CVE-2026-67323
GitPython before 3.1.51 fails to guard against dangerous Git options passed as keyword arguments in Repo.archive() and git.ls_remote(), allowing command injection via options such as --exec/--upload-pack (leading to…
-
DLA-4872-1
python-git - security update
-
DSA-6594-1
python-git - security update
-
GHSA-956x-8gvw-wg5v
GitPython: command injection via unguarded Git options in `Repo.archive()`, `git.ls_remote()`, and arbitrary file overwrite via `Repo.iter_commits()` / `Repo.blame()`
-
OESA-2026-3249
python-GitPython security update
-
OESA-2026-3250
python-GitPython security update
-
OESA-2026-3251
python-GitPython security update
-
PYSEC-2026-3839
GitPython: command injection via unguarded Git options in `Repo.archive()`, `git.ls_remote()`, and arbitrary file overwrite via `Repo.iter_commits()` / `Repo.blame()`
-
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-67323
GitPython before 3.1.51 fails to guard against dangerous Git options passed as keyword arguments in Repo.archive() and git.ls_remote(), allowing command injection via options such as --exec/--upload-pack (leading to…
-
UBUNTU-CVE-2026-67323
GitPython before 3.1.51 fails to guard against dangerous Git options passed as keyword arguments in Repo.archive() and git.ls_remote(), allowing command injection via options such as --exec/--upload-pack (leading to…
-
openSUSE-SU-2026:21874-1
Security update for python-GitPython