SCA: security update for dulwich (GHSA-9277-mp7x-85jf)

high Tenable Cloud Security Plugin ID 442449

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.24.0
and prior to version 1.2.5, Dulwich's `ProcessMergeDriver` substitutes the file path (from the git tree,
controllable by an attacker via a malicious branch) into the merge driver command via the `%P` placeholder
and executes it with `subprocess.run(..., shell=True)`. An attacker who can cause a victim to merge an
untrusted branch can achieve arbitrary command execution by crafting malicious file paths. Version 1.2.5
fixes the issue. (CVE-2026-42563)

Solution

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

See Also

https://github.com/advisories/GHSA-9277-mp7x-85jf

Plugin Details

Severity: High

ID: 442449

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 5/29/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.93

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2026-42563

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/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: 7.7

Threat Score: 5.2

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/28/2026

Vulnerability Publication Date: 5/28/2026

Reference Information

CVE: CVE-2026-42563

cwe: CWE-78