SCA: security update for GitPython (GHSA-x2qx-6953-8485)

critical Tenable Self-Hosted Container Security Plugin ID 440901

Description

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

- GitPython is a python library used to interact with Git repositories. Prior to version 3.1.47, _clone()
validates multi_options as the original list, then executes shlex.split(" ".join(multi_options)). A string
like "--branch main --config core.hooksPath=/x" passes validation (starts with --branch), but after split
becomes ["--branch", "main", "--config", "core.hooksPath=/x"]. Git applies the config and executes
attacker hooks during clone. This issue has been patched in version 3.1.47. (CVE-2026-42284)

Solution

Update the GitPython library and its related packages to version 3.1.47 or later.

See Also

https://github.com/advisories/GHSA-x2qx-6953-8485

Plugin Details

Severity: Critical

ID: 440901

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 4/26/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.81

Vendor

Vendor Severity: High

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-42284

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/25/2026

Vulnerability Publication Date: 4/25/2026

Reference Information

CVE: CVE-2026-42284

cwe: CWE-88