PT-2026-44725 · Pypi · Dulwich
Published
2026-05-28
·
Updated
2026-05-29
·
CVE-2026-42563
CVSS v4.0
7.7
High
| Vector | AV: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.
Fix
OS Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Dulwich