SCA: security update for GitPython (GHSA-v87r-6q3f-2j67)

high Tenable Cloud Security Plugin ID 441391

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.49,
GitConfigParser.set_value() passes values to Python's configparser without validating for newlines.
GitPython's own _write() converts embedded newlines into indented continuation lines (e.g. \n becomes
\n\t), but Git still accepts an indented [core] stanza as a section header — so the injected
core.hooksPath becomes effective configuration. Any Git operation that invokes hooks (commit, merge,
checkout) will then execute scripts from the attacker-controlled path. This issue has been patched in
version 3.1.49. (CVE-2026-44244)

Solution

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

See Also

https://github.com/advisories/GHSA-v87r-6q3f-2j67

Plugin Details

Severity: High

ID: 441391

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 5/7/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.84

Vendor

Vendor Severity: High

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/6/2026

Vulnerability Publication Date: 5/6/2026

Reference Information

CVE: CVE-2026-44244

cwe: CWE-94