Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-73621: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') in gitpython-developers GitPython

0
Medium
VulnerabilityCVE-2026-73621cvecve-2026-73621
Published: 08/13/2026 (08/13/2026, 11:28:22 UTC)
Source: CVE Database V5
Vendor/Project: gitpython-developers
Product: GitPython

Description

GitPython versions before 3.1.56 contain an argument injection vulnerability in the Commit.count() method. This method forwards keyword arguments to 'git rev-list' without proper safety checks, allowing an attacker controlling these arguments to specify an output path. Exploiting this can cause 'git rev-list' to open and truncate an arbitrary file to zero bytes, resulting in file destruction at the process privilege level.

CVSS v4.0

Score 5.3medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

gitpython
pkg:pypi/gitpython
Affected versions
<3.1.56

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/13/2026, 12:56:35 UTC

Technical Analysis

CVE-2026-73621 is an argument injection vulnerability in GitPython prior to version 3.1.56. The Commit.count() method forwards user-controllable keyword arguments directly to the 'git rev-list' command without the check_unsafe_options guard that is present in the iter_items method. An attacker able to influence the options passed to Commit.count can supply an output=<path> argument, causing 'git rev-list --output=<path>' to open and truncate the specified file to zero bytes before processing revisions. This leads to the destruction or blanking of arbitrary files with the privileges of the running process.

Potential Impact

An attacker who can control the options passed to Commit.count() can cause arbitrary files to be truncated to zero bytes, effectively destroying their contents. This occurs at the privilege level of the process running GitPython, potentially leading to denial of service or data loss. There is no control over the content written, only truncation to zero bytes.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid passing untrusted or user-supplied options to the Commit.count() method to prevent exploitation of this vulnerability.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-08-13T11:17:25.160Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a7dbdfbbf8831d5393225f5

Added to database: 08/13/2026, 12:52:11 UTC

Last enriched: 08/13/2026, 12:56:35 UTC

Last updated: 08/13/2026, 15:34:10 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses