CVE-2026-67325

published 1 Aug 2026 · updated 8 Oct 2026

GitPython before 3.1.51 Command Injection via option prefix abbreviation

8.8HighCVSS 8.8EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 3.1.51.

GitPython before 3.1.51 contains an incomplete command injection blocklist that fails to account for git's long-option prefix abbreviation feature. Attackers can bypass the unsafe options guard by using abbreviated option names like upload_p instead of upload_pack, which git resolves to dangerous options and executes arbitrary commands.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
gitpython-developers<3.1.513.1.51

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-67325 severity on Zeptric[![CVE-2026-67325](https://zeptric.io/badge/cve/CVE-2026-67325.svg)](https://zeptric.io/cve/CVE-2026-67325)