Echo: python-git: security update to 3.1.56

medium Tenable Cloud Security Plugin ID 474832

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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). (CVE-2026-73621)

Solution

Update the python-git library and its related packages to version 3.1.56 or later.

See Also

https://advisory.echohq.com/cve/CVE-2026-73621

Plugin Details

Severity: Medium

ID: 474832

Version: Revision 1.1

Type: Local

Published: 10/16/2026

Updated: 10/16/2026

Risk Information

VPR

Risk Factor: Low

Score: 2.1

Percentile: 8.01

CVSS v2

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.3

Vector: CVSS2#AV:N/AC:L/Au:S/C:N/I:P/A:P

CVSS Score Source: CVE-2026-73621

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.9

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 5.3

Threat Score: 2.1

Threat Vector: CVSS:4.0/E:P

Vector: 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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/14/2026

Vulnerability Publication Date: 8/13/2026

Reference Information

CVE: CVE-2026-73621