CVE-2026-42563
published high CVSS 4.0 · 7.7Dulwich Vulnerable to Command Injection via Merge Driver Path
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| jelmer | — | dulwich>= 0.24.0, < 1.2.5 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-dulwichaarch64 | Advisory build | 1.2.5-1.1 | OPENSUSE-SU-2026:10900-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-dulwichppc64le | Advisory build | 1.2.5-1.1 | OPENSUSE-SU-2026:10900-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-dulwichs390x | Advisory build | 1.2.5-1.1 | OPENSUSE-SU-2026:10900-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-dulwichx86_64 | Advisory build | 1.2.5-1.1 | OPENSUSE-SU-2026:10900-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-dulwichaarch64 | Advisory build | 1.2.5-1.1 | OPENSUSE-SU-2026:10900-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-dulwichppc64le | Advisory build | 1.2.5-1.1 | OPENSUSE-SU-2026:10900-1 |
Show 6 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-dulwichs390x | Advisory build | 1.2.5-1.1 | OPENSUSE-SU-2026:10900-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-dulwichx86_64 | Advisory build | 1.2.5-1.1 | OPENSUSE-SU-2026:10900-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-dulwichaarch64 | Advisory build | 1.2.5-1.1 | OPENSUSE-SU-2026:10900-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-dulwichppc64le | Advisory build | 1.2.5-1.1 | OPENSUSE-SU-2026:10900-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-dulwichs390x | Advisory build | 1.2.5-1.1 | OPENSUSE-SU-2026:10900-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-dulwichx86_64 | Advisory build | 1.2.5-1.1 | OPENSUSE-SU-2026:10900-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| jelmer | dulwich | >= 0.24.0, < 1.2.5 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
3Provider assertions
2GitHub_M · cna
Dulwich Vulnerable to Command Injection via Merge Driver Path
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 07d21c01d146c7a17a42ab315000addb1b8d4eaa6d2b4ec946bae3ee617d8ab7
- Ingested
- 23 Sep 2026, 09:14:19 UTC
- Source record
- Official CVE record