Echo: gitpython: security update to 3.1.60

high Tenable Cloud Security Plugin ID 471188

Description

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

- GitPython before 3.1.60 fails to properly validate the git directory location, allowing attackers to
impersonate the git directory using tracked files like gitdir, commondir, and HEAD. Attackers can execute
arbitrary code by placing a malicious pre-commit hook in the tracked hooks directory that executes when a
victim calls index.commit() on a cloned or opened repository. (CVE-2026-87817)

Solution

Update the gitpython library and its related packages to version 3.1.60 or later.

See Also

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

Plugin Details

Severity: High

ID: 471188

Version: Revision 1.1

Type: Local

Published: 10/3/2026

Updated: 10/3/2026

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.22

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS Score Source: CVE-2026-87817

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/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: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/2/2026

Vulnerability Publication Date: 9/9/2026

Reference Information

CVE: CVE-2026-87817