Vulnerabilityin gitpython-developers GitPython.
No public exploit found; not on exploited lists.
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).
- Upgrade GitPython to 3.1.56 or later.
- Upgrade gitpython (PyPI) to 3.1.56 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 13 Aug 2026CVE ID reserved by VulnCheck.
- 13 Aug 2026Published in the CVE List.
- 8 Oct 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other GitPython vulnerabilities
Same weakness: Argument injection
- github.com vendor-advisory
- www.vulncheck.com third-party-advisory
Patchminder. CVE-2026-73621: Vulnerability in gitpython-developers GitPython. https://patchminder.com/cve/cve-2026-73621/ (accessed 5 December 2026).