SCA: security update for github.com/go-git/go-git/v5 (GHSA-gm2x-2g9h-ccm8)

low Tenable Cloud Security Plugin ID 439475

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 version 5.17.1, go-git’s
index decoder for format version 4 fails to validate the path name prefix length before applying it to the
previously decoded path name. A maliciously crafted index file can trigger an out-of-bounds slice
operation, resulting in a runtime panic during normal index parsing. This issue only affects Git index
format version 4. Earlier formats (go-git supports only v2 and v3) are not vulnerable to this issue. This
issue has been patched in version 5.17.1. (CVE-2026-33762)

Solution

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

See Also

https://github.com/advisories/GHSA-gm2x-2g9h-ccm8

Plugin Details

Severity: Low

ID: 439475

Version: Revision 1.10

Type: Local

Family: SCA Checks

Published: 3/30/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Low

CVSS v2

Risk Factor: Low

Base Score: 1.7

Temporal Score: 1.3

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

CVSS Score Source: CVE-2026-33762

CVSS v3

Risk Factor: Low

Base Score: 2.8

Temporal Score: 2.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/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: 3/30/2026

Vulnerability Publication Date: 3/30/2026

Reference Information

CVE: CVE-2026-33762

cwe: CWE-129