Vulnerability record · CVE-2015-8968 · published 3 November 2016
CVE-2015-8968: Squareup git-fastclone command injection vulnerability
Squareup · Git Fastclone
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.
Description
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://www.securityfocus.com/bid/81433 | Third Party AdvisoryVDB Entry |
| https://github.com/square/git-fastclone/pull/2 | PatchVendor Advisory |
| https://hackerone.com/reports/104465 | ExploitThird Party Advisory |
| http://www.securityfocus.com/bid/81433 | Third Party AdvisoryVDB Entry |
| https://github.com/square/git-fastclone/pull/2 | PatchVendor Advisory |
| https://hackerone.com/reports/104465 | ExploitThird Party Advisory |
Track CVE-2015-8968 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2015-8968), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.