{"id":"CVE-2017-8386","aliases":[],"kind":"cve","tier":"cold","status":"published","title":"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 b…","description":"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.","ai_summary":null,"severity":"high","cvss":{"score":8.8,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"NVD"},"scores":[{"score":8.8,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd"},{"score":6.5,"version":"2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","source":"nvd"}],"cwe":[],"remote":true,"remote_unauth":false,"epss":{"score":0.12387,"percentile":0.96302,"date":"2026-12-02"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"http://www.ubuntu.com/usn/USN-3287-1","kind":"vendor"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3ISHYFLM2ACYHHY3JHCLF75X7UF4ZMDM/","kind":"vendor"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DPYRN7APMHY4ZFDPAKD22J5R4QJFY2JP/","kind":"vendor"},{"url":"https://security.gentoo.org/glsa/201706-04","kind":"vendor"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FDS3LSJJ3YGGQYIVPKQDVOCXWDSF6JGF/","kind":"vendor"},{"url":"https://access.redhat.com/errata/RHSA-2017:2491","kind":"vendor"},{"url":"http://lists.opensuse.org/opensuse-updates/2017-05/msg00090.html","kind":"vendor"},{"url":"https://access.redhat.com/errata/RHSA-2017:2004","kind":"vendor"},{"url":"http://www.debian.org/security/2017/dsa-3848","kind":"vendor"},{"url":"http://public-inbox.org/git/xmqq8tm5ziat.fsf%40gitster.mtv.corp.google.com/","kind":"other"},{"url":"https://insinuator.net/2017/05/git-shell-bypass-by-abusing-less-cve-2017-8386/","kind":"other"},{"url":"https://kernel.googlesource.com/pub/scm/git/git/+/3ec804490a265f4c418a321428c12f3f18b7eff5","kind":"other"},{"url":"http://www.securitytracker.com/id/1038479","kind":"other"},{"url":"http://www.securityfocus.com/bid/98409","kind":"other"}],"workarounds":null,"vendors":["canonical","debian","fedoraproject","git","opensuse"],"products":["debian_linux","fedora","git-shell","leap","ubuntu_linux"],"cpes":["cpe:2.3:a:git:git-shell:-:*:*:*:*:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:16.10:*:*:*:*:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:17.04:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:24:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:25:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:26:*:*:*:*:*:*:*","cpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:*"],"published_at":"2017-06-01T16:00:00.000Z","modified_at":"2026-06-17T01:26:17.773Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-8386"}],"links":{"html":"https://flawdb.com/CVE-2017-8386","markdown":"https://flawdb.com/CVE-2017-8386.md","json":"https://flawdb.com/api/v1/entries/CVE-2017-8386"}}