CVE-2017-16228Dulwich Project Dulwich
Critical 9.8 No auth needed
Follow: this CVE · Dulwich Project · Dulwich Project Dulwich We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.0
- 9.8
- EPSS
- 3.8% probability of exploitation in 30 days · percentile 91
- Auth required
- No
- Published
- Oct 29, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Dulwich.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | dulwich |
< 0.18.5 |
0.18.5 |
pip install "dulwich>=0.18.5" |
| PyPI | dulwich |
< 0.18.5 |
0.18.5 |
pip install "dulwich>=0.18.5" |
Per OSV / GitHub Advisories (GHSA-cwwh-4382-6fwr, PYSEC-2017-12). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| dulwich_project | dulwich | ≤ 0.18.4 |
Official advisories
- python313-dulwich-1.2.7-1.1 on GA media · SUSE · openSUSE-SU-2026:11190-1 · Jul 6, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- tracker.debian.org Issue Tracking Third Party Advisory
- www.dulwich.io Product Vendor Advisory
- www.dulwich.io Issue Tracking Patch Vendor Advisory