Command injection in GitPython - CVE-2026-67323

 

Command injection in GitPython - CVE-2026-67323

Published: July 22, 2026 / Updated: September 14, 2026


Vulnerability identifier: #VU139084
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-67323
CWE-ID: CWE-77
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary commands.

The vulnerability exists due to command injection in Repo.archive() and git.ls_remote() when processing caller-supplied Git options. A remote attacker can supply crafted option values such as exec or upload_pack to execute arbitrary commands.

The command execution occurs under default Git configuration.


Affected software

GitPython
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Desktop 15
Python 3 Module
openSUSE Leap
openEuler
python311-GitPython
python-GitPython
python-GitPython-help
python3-GitPython

How to mitigate CVE-2026-67323

Install security update from vendor's website.

GitPython - update to 3.1.51
python311-GitPython - update to 3.1.34.1693646983.2a2ae77-150400.9.8.1
python-GitPython - update to 3.1.52-1
python-GitPython-help - update to 3.1.52-1
python3-GitPython - update to 3.1.52-1

External References

Related Security Bulletins