PT-2026-44725 · Pypi · Dulwich

CVE-2026-42563

·

Published

2026-05-28

·

Updated

2026-07-13

CVSS v4.0

7.7

High

VectorAV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions Dulwich versions prior to 1.2.5-1.1
Description Command injection occurs in the ProcessMergeDriver when the file path from the git tree is substituted into the merge driver command via the %P placeholder. This command is then executed using subprocess.run(..., shell=True). An attacker can achieve arbitrary command execution by crafting malicious file paths and inducing a victim to merge an untrusted branch, provided the user has a merge driver configured that utilizes the %P placeholder.
Recommendations Update to version 1.2.5-1.1.

Exploit

Fix

OS Command Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-42563
ECHO-B3A3-3B48-F3FE
GHSA-9277-MP7X-85JF
OPENSUSE-SU-2026:10900-1
PYSEC-2026-2464

Affected Products

Dulwich