SCA: security update for github.com/go-git/go-git/v5, github.com/go-git/go-git/v6 (GHSA-crhj-59gh-8x96)

medium Tenable Self-Hosted Container Security Plugin ID 442158

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,
a path validation issue in go-git could allow crafted repository data to affect files outside the intended
checkout target, including the repository's .git directory. These validations were introduced in upstream
Git years ago, so the vulnerability arose from go-git drifting from those checks. This vulnerability is
fixed in 5.19.1 and 6.0.0-alpha.4. (CVE-2026-45571)

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-crhj-59gh-8x96

Plugin Details

Severity: Medium

ID: 442158

Version: Revision 1.6

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: Low

Score: 2.1

Percentile: 7.74

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

CVSS Score Source: CVE-2026-45571

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.7

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

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

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

cwe: CWE-22