← Vulnerability feed

Vulnerability record · CVE-2017-1000117 · published 5 October 2017

CVE-2017-1000117: Git ssh:// URL handling allows arbitrary command execution

Git Scm · Git

Git mishandles crafted ssh:// URLs, allowing a malicious third party to cause arbitrary programs on the victim's machine to be executed. The URL can be embedded in the .gitmodules file of a malicious project, so a victim who runs git clone --recurse-submodules triggers the flaw. This matters because cloning an untrusted repository can lead to full code execution on the developer's workstation.

8.8 CVSS 3.0 High EPSS 78% · top 0.4% CWE-601 · Open redirect
8.8CVSS 3.0 base score, v2 6.8
78%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
24References
17 Jun 2026Last modified by NVD

Description

A malicious third-party can give a crafted "ssh://..." URL to an unsuspecting victim, and an attempt to visit the URL can result in any program that exists on the victim's machine being executed. Such a URL could be placed in the .gitmodules file of a malicious project, and an unsuspecting victim could be tricked into running "git clone --recurse-submodules" to trigger the vulnerability.

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

high priorityCVSS 8.8 with user interaction required, very high EPSS and a public exploit make this a serious risk for developer and build environments.

What it is

Git mishandles crafted ssh:// URLs, allowing a malicious third party to cause arbitrary programs on the victim's machine to be executed. The URL can be embedded in the .gitmodules file of a malicious project, so a victim who runs git clone --recurse-submodules triggers the flaw. This matters because cloning an untrusted repository can lead to full code execution on the developer's workstation.

Impact

An attacker gains arbitrary command execution in the context of the user running Git, which can lead to credential theft, source code tampering, and further compromise of the developer host.

Attack surface

Reached over the network via a crafted ssh:// URL delivered in a repository's .gitmodules file; no authentication is required, but user interaction is needed because the victim must clone the project with submodules recursed.

Exploitation

Not listed in CISA KEV, but EPSS is very high (0.778, 99.5th percentile) and a public Exploit-DB entry (42599) exists, indicating known public exploitation methods.

What to do

  • Upgrade Git to a version containing the fix for CVE-2017-1000117; apply the vendor patches referenced in the Red Hat, Debian, Gentoo and Apple advisories.
  • Avoid running git clone --recurse-submodules on untrusted repositories until all Git clients are patched.
  • Inspect .gitmodules files for unexpected ssh:// URLs before recursing submodules.
  • Restrict or monitor outbound SSH from developer and build hosts to limit post-exploitation reach.
  • Enforce use of trusted repository sources and review third-party projects before cloning.

Detection

  • Monitor process creation for git clone --recurse-submodules followed by unexpected child processes such as shells or scripting interpreters.
  • Alert on .gitmodules content containing ssh:// URLs, especially with unusual host or path values.
  • Review Git client versions across developer and CI/CD hosts for unpatched instances.
  • Correlate outbound SSH connections from build or developer systems with recent repository clone activity.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2017-1000117 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.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.0CVE-2025-48384Git config CRLF handling allows submodule path link-following code executionGit mishandles trailing carriage returns when writing config values, so a submodule path ending in CR is read back altered during submodule initializ…KEVEPSS 4.1%analysed9.8CVE-2022-23521Git gitattributes parsing integer overflow enables heap corruptionGit's gitattributes parser suffers multiple integer overflows when handling a huge number of path patterns, many attributes for one pattern, or very …EPSS 56%analysed9.8CVE-2022-41903Git-scm git integer overflow vulnerabilityGit is distributed revision control system. `git log` can display commits in an arbitrary format using its `--format` specifiers. This functionality …EPSS 44%9.8CVE-2014-9390Git clients execute commands via crafted .git/config on case-insensitive filesystemsGit, Mercurial, libgit2, JGit, EGit and Xcode mishandle crafted .git/config paths on Windows and OS X, allowing a remote repository to place a file t…EPSS 76%analysed9.8CVE-2019-1353Git-scm git vulnerabilityAn issue was found in Git before v2.24.1, v2.23.1, v2.22.2, v2.21.1, v2.20.2, v2.19.3, v2.18.2, v2.17.3, v2.16.6, v2.15.4, and v2.14.6. When running …EPSS 2.2%9.8CVE-2018-19486Git-scm git untrusted search path vulnerabilityGit before 2.19.2 on Linux and UNIX executes commands from the current working directory (as if '.' were at the end of $PATH) in certain cases involv…EPSS 4.1%9.8CVE-2018-17456Git recursive clone argument injection enables remote code executionGit versions before the fixed releases mishandle a .gitmodules URL field that begins with a '-' character during recursive 'git clone' of a superproj…EPSS 97%analysed9.8CVE-2016-2324Suse linux enterprise debuginfo memory buffer overflow vulnerabilityInteger overflow in Git before 2.7.4 allows remote attackers to execute arbitrary code via a (1) long filename or (2) many nested trees, which trigge…EPSS 18%

Source: NIST National Vulnerability Database (record CVE-2017-1000117), CISA KEV, FIRST EPSS (scores of 2026-09-25). This page is refreshed as NVD updates the record.