CVE-2026-73621
Last modified
CVE-2026-73621 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
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).
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| gitpython-developers | GitPython | < 3.1.56 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-73621?
How severe is CVE-2026-73621?
How do I fix CVE-2026-73621?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-73616OpenRemote notification deletion endpoints fail to enforce r…7.1
- CVE-2026-73617Budibase before 3.40.0 contains a NoSQL injection vulnerabil…7.1
- CVE-2026-73618Budibase Server before 3.40.0 contains a NoSQL injection vul…8.7
- CVE-2026-73619GitPython before 3.1.57 contains an incomplete denylist in t…7.1
- CVE-2026-7362IBM Sterling B2B Integrator 6.2.1.0 through 6.2.1.1_2, and 6…6.5
- CVE-2026-73620GitPython before 3.1.57 fails to guard git option forwarding…8.1
- CVE-2026-73622GitPython before 3.1.55 fails to disable environment variabl…8.7
- CVE-2026-73623GitPython before 3.1.54 contains an incomplete denylist in u…7.7
- CVE-2026-73624GitPython versions before 3.1.54 contain an arbitrary file o…8.1
- CVE-2026-73625GitPython versions before 3.1.54 contain a remote code execu…8.8
- CVE-2026-73626JupyterLab versions >=4.6.0,<=4.6.1 and <=4.5.9 contain an a…0
- CVE-2026-73627JupyterLab (pip package 'jupyterlab') versions >=4.1.0,<=4.5…6
Are you affected by CVE-2026-73621?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
