Vulnerability in Git Git-Shell
CVE-2017-8386
git-shell in git before 2.4.12, 2.5.x before 2.5.6, 2.6.x before 2.6.7, 2.7.x before 2.7.5, 2.8.x before 2.8.5, 2.9.x before 2.9.4, 2.10.x before 2.10.3, 2.11.x before 2.11.2, and 2.12.x before 2.12.3 might allow remote authenticated users to gain privileges via a repository name that starts with a - (dash) character.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.124, 96.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Git Git-Shell
- Canonical Ubuntu Linux — versions 14.04, 16.04, 16.10
- Debian Linux — versions 8.0
- Fedoraproject Fedora — versions 24, 25, 26
- openSUSE Leap — versions 42.1
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- suz1n/WHS3_vulhub (last pushed 2025-04-27): PoC for CVE-2017-8386 Git-Shell sandbox bypass vulnerability.
- cyberharsh/Gitcve-2017-8386
Also mentioned in 11 other repositories (ARPSyndicate/cvemon, bakery312/Vulhub-Reproduce, cecileDo/secuTP-gitVulnerability, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- [git] 20170510 [ANNOUNCE] Git v2.12.3 and others (mailing-list)
- USN-3287-1 (vendor-advisory, Exploit, Third Party Advisory)
- FEDORA-2017-01a7989fc0 (vendor-advisory)
- FEDORA-2017-f4319b6dfc (vendor-advisory)
- GLSA-201706-04 (vendor-advisory)
- FEDORA-2017-7ea0e02914 (vendor-advisory)
- insinuator.net/2017/05/git-shell-bypass-by-abusing-less-cve-2017-8386/ (Third Party Advisory, Mitigation)
- kernel.googlesource.com/pub/scm/git/git/+/3ec804490a265f4c418a321428c12f3f18b7e… (Third Party Advisory)
- www.securitytracker.com/id/1038479 (Third Party Advisory, vdb-entry)
- RHSA-2017:2491 (vendor-advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.