Echo: python-git: security update to 3.1.58

high Tenable Self-Hosted Container Security Plugin ID 474826

Description

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

- GitPython before 3.1.58 contains a config-name injection vulnerability in the option-name validator that
allows attackers to forge arbitrary git-config directives by injecting equals signs, hash symbols, and
whitespace into option names. Attackers can inject malicious option names like 'sshCommand = touch
/tmp/RCE #' to execute arbitrary commands via core.sshCommand or core.hooksPath on the next git operation.
(CVE-2026-76221)

Solution

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

See Also

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

Plugin Details

Severity: High

ID: 474826

Version: Revision 1.1

Type: Local

Published: 10/16/2026

Updated: 10/16/2026

Risk Information

VPR

Risk Factor: Medium

Score: 6.9

Percentile: 96.58

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7

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

CVSS Score Source: CVE-2026-76221

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

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

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

CVSS v4

Risk Factor: High

Base Score: 8.7

Threat Score: 7.4

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/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/19/2026

Reference Information

CVE: CVE-2026-76221