Echo: python-git: security update to 3.1.50

high Tenable Self-Hosted Container Security Plugin ID 474830

Description

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

- GitPython before 3.1.50 fails to validate newline characters in the section parameter of config_writer(),
allowing attackers to inject arbitrary section headers into .git/config. Attackers can inject newlines to
create a forged [core] section with hooksPath pointing to attacker-controlled directories, achieving
remote code execution when git hooks are triggered. (CVE-2026-67326)

Solution

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

See Also

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

Plugin Details

Severity: High

ID: 474830

Version: Revision 1.1

Type: Local

Published: 10/16/2026

Updated: 10/16/2026

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.21

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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

CVSS Score Source: CVE-2026-67326

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

Vector: CVSS:3.0/AV:L/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: 7.3

Threat Score: 6.4

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/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/1/2026

Reference Information

CVE: CVE-2026-67326