Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
🛡️
Not in CISA KEV
CRITICAL severity

CVE-2018-17456 — git

CRITICALFix: git/git@1a7fd1f

CVE-2018-17456 is a critical-severity (CVSS 9.8) CWE-88 vulnerability. 7 public exploit references exist, so weaponization risk is real. A fix is available — see the affected versions and patch details below.

Published
Updated
Affected
11 products
Patched
See advisory
Exploits
7 known
Exploitation data as of Oct 28, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
97.4%probability of exploitation in next 30 days
Very High Risk0.00%
Lower risk than most CVEs100th percentile — riskier than 100% of all scored CVEsHighest risk
47.8%65.2%82.6%100.0%59.2%97.4%97.4%Jun 26Aug 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

CVE-2018-17456 by exploitation likelihood (EPSS) against impact (CVSS). In the shaded patch-first corner (EPSS 50%+, CVSS 7.0+).

Where this sits among everything scored

Of 397,508 CVEs with a current EPSS score, this one falls in the ≥ 90% band (highlighted). Counts from FIRST.org, log-scaled.

Description

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 allows remote code execution during processing of a recursive "git clone" of a superproject if a .gitmodules file has a URL field beginning with a '-' character.

Affected Products

11 products · 24 configurations
OS
ubuntu linuxcanonical
3 versions
14.0416.0418.04
OS
debian linuxdebian
1 version
9.0
Application
gitgit-scm
≥ 2.19.0 && < 2.19.1
range
Application
ansible towerredhat
1 version
3.3
OS
enterprise linuxredhat
7 versions
6.06.77.07.37.47.57.6
OS
enterprise linux desktopredhat
1 version
7.0
Exploits & PoCs
7

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

EDB-45631locallinux

Git Submodule - Arbitrary Code Execution

by joernchen · Oct 16, 2018

EDB-45548locallinux

Git Submodule - Arbitrary Code Execution (PoC)

by Junio C Hamano · Oct 5, 2018

Detection & mitigation playbook

Vulnerability
  1. Detect

    Identify every host running the affected component and compare the installed build against the fixed version below — for source-built or distro-packaged software the version string, not a lockfile, is the source of truth (`dpkg -l`, `rpm -q`, or the binary's own `--version`).

  2. Fix

    Upgrade the affected component to the fixed release for CVE-2018-17456, or apply your distribution's backported patch — distro builds are often patched at an older version number, so check your vendor's advisory rather than the upstream version alone.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatImportant

OpenShift Container Platform (OCP) source-to-image uses the git client packaged with the OCP container images. Since RHEL7 and its associated images are impacted, source-to-image is also impacted. The atomic-openshift package running on the masters controls the code that determines the source-to-image build image in…

ProductFixed inAdvisory
Red Hat Enterprise Linux 6git-0:1.7.1-10.el6_10RHSA-2020:0316
Red Hat Enterprise Linux 7git-0:1.8.3.1-20.el7RHSA-2018:3408
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-git29-git-0:2.9.3-7.el6RHSA-2018:3541
UbuntuCRITICAL

Frequently Asked Questions

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 allows remote code execution during processing of a recursive "git clone" of a superproject if a .gitmodules file has a URL field beginning with a '-' character.
O3 Security · Impact-Aware SCA

Is CVE-2018-17456 in your dependencies?

Find it across , including transitive dependencies.

CVE-2018-17456: git RCE (Critical 9.8)