๐Ÿ” CVE Alert

CVE-2026-67323

HIGH 8.4

GitPython before 3.1.51 Command Injection via unguarded Git options

CVSS Score
8.4
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-77
Vendor gitpython-developers
Product gitpython
Published Aug 1, 2026
Stay Ahead of the Next One

Get instant alerts for gitpython-developers gitpython

Be the first to know when new high vulnerabilities affecting gitpython-developers gitpython are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

gitpython-developers / GitPython
0 < 3.1.51

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-956x-8gvw-wg5v vulncheck.com: https://www.vulncheck.com/advisories/gitpython-before-command-injection-via-unguarded-git-options

Credits

๐Ÿ” miauzxw