Arbitrary Argument Injection Affecting python311-GitPython package, versions <3.1.34.1693646983.2a2ae77-150400.9.8.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.36% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES155-PYTHON311GITPYTHON-19779552
  • published14 Sept 2026
  • disclosed8 Sept 2026

Introduced: 8 Sep 2026

CVE-2026-73621  (opens in a new tab)
CWE-88  (opens in a new tab)

How to fix?

Upgrade SLES:15.5 python311-GitPython to version 3.1.34.1693646983.2a2ae77-150400.9.8.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python311-GitPython package and not the python311-GitPython package as distributed by SLES. See How to fix? for SLES:15.5 relevant fixed versions and status.

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).

CVSS Base Scores

version 3.1