ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2026-73621

No fix available CVE-2026-73621

Details

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

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:14.04:LTSpython-git
All versions, no fix listed
Ubuntu:Pro:16.04:LTSpython-git
All versions, no fix listed
Ubuntu:Pro:18.04:LTSpython-git
All versions, no fix listed
Ubuntu:Pro:20.04:LTSpython-git
All versions, no fix listed
Ubuntu:Pro:22.04:LTSpython-git
All versions, no fix listed
Ubuntu:Pro:24.04:LTSpython-git
All versions, no fix listed
Ubuntu:26.10python-git
All versions, no fix listed
Ubuntu:Pro:26.04:LTSpython-git
All versions, no fix listed

References