Skip to main content
Mallory
CriticalPublic exploitVulnerability

CVE-2018-17456: Git Submodule URL Argument Injection Leading to Remote Code Execution

Published Oct 6, 2018 · Updated 6 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
CVSS9.8Critical · v3
EPSS97.4%100th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendors
Red HatDebian ProjectGit-ScmCanonical
IdentifiersCVE-2018-17456CWE-88 · Improper Neutralization of…

CVE-2018-17456 is an argument-injection vulnerability in Git's handling of submodule URLs during recursive cloning. A malicious superproject can specify a submodule URL beginning with a hyphen, causing Git to interpret attacker-controlled input as command-line options and potentially execute arbitrary code on the cloning system. Affected versions are Git before 2.14.5, 2.15.x before 2.15.3, 2.16.x before 2.16.5, 2.17.x before 2.17.2, 2.18.x before 2.18.1, and 2.19.x before 2.19.1.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation permits arbitrary code execution with the privileges of the account running Git. This can compromise the confidentiality and integrity of accessible repositories, credentials, and other local data, and can disrupt processes or services accessible to that account. Automated build systems and applications embedding vulnerable Git versions may also be affected when recursively cloning attacker-controlled repositories.

Mitigation

If you can’t patch tonight, do this now.

Until patched, avoid recursively cloning untrusted repositories and do not initialize or fetch their submodules. Apply the same restriction to automated build and development workflows that process externally supplied repositories.

Remediation

Patch, then assume compromise.

Upgrade Git to a supported release containing the fix. Historical fixed releases are 2.14.5, 2.15.3, 2.16.5, 2.17.2, 2.18.1, and 2.19.1. Update applications that bundle Git, including GitHub Desktop and Atom, rather than assuming an update to the system Git also updates embedded copies. For CIQ CentOS Bridge 7.9 installations, apply the affected package updates specified in advisory ciqsa-2026_1591.

Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
CanonicalUbuntu Linuxoperating_system
Debian ProjectDebian Linuxoperating_system
Git-ScmGitapplication
Red HatAnsible Towerapplication
Red HatEnterprise Linux Desktopoperating_system
Red HatEnterprise Linux Serveroperating_system
Red HatEnterprise Linux Server Ausoperating_system
Red HatEnterprise Linux Server Eusoperating_system
Red HatEnterprise Linux Server Tusoperating_system
Red HatEnterprise Linux Workstationoperating_system
Red HatRed Hat Enterprise Linuxoperating_system
FAQ

Frequently asked questions

Is CVE-2018-17456 exploited in the wild?
As of Nov 18, 2026, Mallory has no reports of CVE-2018-17456 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2018-17456?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2018-17456, the earliest disclosed Oct 5, 2018.
Is there a patch for CVE-2018-17456?
Upgrade Git to a supported release containing the fix. Historical fixed releases are 2.14.5, 2.15.3, 2.16.5, 2.17.2, 2.18.1, and 2.19.1.
What products are affected by CVE-2018-17456?
Git-Scm Git, Red Hat Ansible Tower, Debian Project Debian Linux, Red Hat Enterprise Linux Desktop, Red Hat Enterprise Linux Server, and 6 more.
How severe is CVE-2018-17456?
CVE-2018-17456 has a CVSS v3 score of 9.8 (Critical) and an EPSS score of 97.4% (100th percentile) as of Nov 18, 2026.
Activity feed

Recent activity

4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.