Echo: dulwich: security update to 1.2.5

high Tenable Self-Hosted Container Security Plugin ID 465406

Description

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

- Dulwich is a pure-Python implementation of the Git file formats and protocols. Starting in version 0.23.2
and prior to version 1.2.5, `dulwich.porcelain.submodule_update`, and by extension `porcelain.clone(...,
recurse_submodules=True)`, materializes attacker-controlled submodule paths from a crafted upstream
repository without path validation. A malicious `.gitmodules` plus a matching tree gitlink whose `path` is
`.git/hooks` (or any other directory inside the parent repository's `.git` directory) causes the
attacker's submodule tree contents to be written directly into the victim's `.git/hooks/` directory,
preserving executable mode bits. The dropped executables are then run by any subsequent `git` or `dulwich`
command that invokes the matching hook, resulting in arbitrary code execution. This is the dulwich
equivalent of the upstream Git fixes for CVE-2024-32002 / CVE-2024-32004, which were never propagated into
dulwich's separately implemented submodule porcelain. Version 1.2.5 patches the issue. (CVE-2026-52726)

Solution

Update the dulwich library and its related packages to version 1.2.5 or later.

See Also

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

Plugin Details

Severity: High

ID: 465406

Version: Revision 1.1

Type: Local

Published: 10/2/2026

Updated: 10/3/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 93.88

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2026-52726

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 7/4/2026

Vulnerability Publication Date: 6/10/2026

Reference Information

CVE: CVE-2026-52726