RCE in Gitpython-Developers Gitpython

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.

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.010 (62.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.4 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-67323?
CVE-2026-67323 is a high-severity vulnerability in Gitpython-Developers Gitpython, classified under Command Injection. CVSS score: 8.4/10. Published 2026-08-01.
How severe is CVE-2026-67323?
High severity. CVSS v3 base score is 8.4 out of 10.