SCA: security update for github.com/go-git/go-git/v5, github.com/go-git/go-git/v6 (GHSA-m7cr-m3pv-hgrp)

low Tenable Cloud Security Plugin ID 442170

Description

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

- go-git is an extensible git implementation library written in pure Go. Prior to 5.19.1 and 6.0.0-alpha.4,
go-git's SSH transport constructs the remote exec command by wrapping the repository path in single quotes
without escaping single quotes embedded inside the path. A repository path containing a single quote can
therefore break out of the quoted region in the exec command and be appended as additional shell tokens.
This vulnerability is fixed in 5.19.1 and 6.0.0-alpha.4. (CVE-2026-45570)

Solution

Update the github.com/go-git/go-git/v5 library and its related packages to version 5.19.1 or later.

See Also

https://github.com/advisories/GHSA-m7cr-m3pv-hgrp

Plugin Details

Severity: Low

ID: 442170

Version: Revision 1.9

Type: Local

Family: SCA Checks

Published: 5/19/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 94.32

Vendor

Vendor Severity: Low

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

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

CVSS Score Source: CVE-2026-45570

CVSS v3

Risk Factor: Critical

Base Score: 9.6

Temporal Score: 8.3

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

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

CVSS v4

Risk Factor: Low

Base Score: 2.3

Threat Score: 0.6

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:L

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/19/2026

Vulnerability Publication Date: 5/19/2026

Reference Information

CVE: CVE-2026-45570

cwe: CWE-116