CVE-2026-67323CWE-77command-injection

CVE-2026-67323

High · published August 1, 2026

CVSS v3.1
8.4
EPSS
1%
Percentile
69.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.4 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01251 · 69.2th percentile
Weakness
CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')
Published
2026-08-01T17:17Z
Affected products (1)
ProductVersionsFixed in
gitpython_project/gitpython< 3.1.513.1.51
References (3)
EPSS history
Timeline
  • 01 AUG 12:22Z
    GitPython before 3.1.51 Command Injection via unguarded Git options
    cvelistv5