CVE-2026-73621
MEDIUM
MEDIUM
Priority: 0.02
BB Relevance:
61/100
Published: 2026-08-13
Modified: 2026-10-24
First seen: 2026-10-29
Status: active
Attack Surface
Network
Low Complexity
No Interaction
CVSS Vector Breakdown
AV:
Network
AC:
Low
PR:
Low
UI:
None
S:
X
AT:
None
VC:
None
VI:
Low
VA:
Low
Description
GitPython before 3.1.56 contains an argument injection vulnerability in the Commit.count() method, which forwards keyword arguments to 'git rev-list' without the check_unsafe_options guard present in the sibling iter_items method. An attacker who can control options passed to Commit.count (e.g., via an application that forwards a user-supplied options dict) can supply output=<path>, causing 'git rev-list --output=<path>' to open and truncate the target file to zero bytes before revision parsing. This allows destruction/blanking of an arbitrary file at the process's privilege level (no content control, 0-byte truncation).
Weakness Classification (1)
Affected Software (1)
| Vendor | Product | Version |
|---|---|---|
| gitpython_project | gitpython | < 3.1.56 |
References & Advisories (2)
Third Party Advisory
Exploit
Vendor Advisory