CVE-2015-8968
HIGH 8.8CVSS 3.1git-fastclone permits arbitrary shell command execution from .gitmodules
git-fastclone before 1.0.1 permits arbitrary shell command execution from .gitmodules. If an attacker can instruct a user to run a recursive clone from a repository they control, they can get a client to run an arbitrary shell command. Alternately, if an attacker can MITM an unencrypted git clone, they could exploit this. The ext command will be run if the repository is recursively cloned or if submodules are updated. This attack works when cloning both local and remote repositories.
- Published
- 3 Nov 2016
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-77
- Also known as
- GHSA-8gg6-3r63-25m8
- Sources
- NVDJSONOSV GHSA-8gg6-3r63-25m8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 9.3 | AV:N/AC:M/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | squareup | git-fastclonecpe:2.3:a:squareup:git-fastclone:*:*:*:*:*:*:*:* |
< 1.0.1 | 1.0.1 |
| OSV | RubyGems | git-fastclone | < 1.0.1 | 1.0.1 |
References
- http://www.securityfocus.com/bid/81433 · Third Party Advisory, VDB Entry
- https://github.com/square/git-fastclone/pull/2 · Patch, Vendor Advisory, WEB
- https://hackerone.com/reports/104465 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2015-8968 · ADVISORY
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/git-fastclone/CVE-2015-8968.yml · WEB
- https://github.com/square/git-fastclone · PACKAGE
- https://web.archive.org/web/20200227213019/http://www.securityfocus.com/bid/81433 · WEB
History
- 25 Nov 2026 20:19 UTC · NVD: first stored (published 3 Nov 2016)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Aug 2018)