Echo: libgit2: security update to 1.9.0+ds-2+deb13u1

high Tenable Self-Hosted Container Security Plugin ID 460769

Description

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

- libgit2 versions before 1.8.7 and 1.9.0 before 1.9.7 built with the libssh2 SSH backend (USE_SSH=libssh2)
contain a shell command injection vulnerability that allows remote attackers to execute arbitrary commands
on an SSH server by supplying a repository path containing unescaped shell metacharacters such as single
quotes, semicolons, or pipes. The gen_proto() function in ssh_libssh2.c inserts the repository path
directly into a shell command string without escaping special characters before passing it to
libssh2_channel_exec(), enabling an attacker to craft a malicious submodule URL in a .gitmodules file
that, when processed during a recursive clone, causes the remote server's shell to interpret injected
commands under the victim's SSH user account. (CVE-2026-5917)

Solution

Update the libgit2 library and its related packages to version 1.9.0+ds-2+deb13u1 or later.

See Also

https://advisory.echohq.com/cve/CVE-2026-5917

Plugin Details

Severity: High

ID: 460769

Version: Revision 1.1

Type: Local

Published: 10/2/2026

Updated: 10/2/2026

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.17

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

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

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

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

CVSS v4

Risk Factor: High

Base Score: 8.6

Threat Score: 6.1

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 8/15/2026

Vulnerability Publication Date: 8/11/2026

Reference Information

CVE: CVE-2026-5917

IAVA: 2026-A-0992