Description
Dulwich before 0.18.5, when an SSH subprocess is used, allows remote attackers to execute arbitrary commands via an ssh URL with an initial dash character in the hostname, a related issue to CVE-2017-9800, CVE-2017-12836, CVE-2017-12976, CVE-2017-1000116, and CVE-2017-1000117.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | dulwich | 0.18.5-1 | — |
| Debian 13 | dulwich | 0.18.5-1 | — |
| Debian 12 | dulwich | 0.18.5-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | dulwich | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 | python-dulwich | 0.18.5-4.3.1 | SUSE-SU-2018:2047-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-dulwich | 0.21.7-1.3 | openSUSE-SU-2026:11190-1, openSUSE-SU-2024:14139-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | dulwich | < 0.18.5 | 0.18.5 | GHSA-cwwh-4382-6fwr |
Advisories 3
- openSUSE-SU-2026:11190-1 python313-dulwich-1.2.7-1.1 on GA media SUSE / openSUSE Security Updates · Jul 7, 2026
- SUSE-SU-2018:2047-1 Security update for python-dulwich SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14139-1 python310-dulwich-0.21.7-1.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026