Skip to content
WatchlistHigh

CVE-2018-11235Git Path Traversal

In Git before 2.13.7, 2.14.x before 2.14.4, 2.15.x before 2.15.2, 2.16.x before 2.16.4, and 2.17.x before 2.17.1, remote code execution can occur.

Published May 30, 2018 · Updated Aug 7, 2026 · Also known as ALPINE-CVE-2018-11235, DEBIAN-CVE-2018-11235, DSA-4212-1, UBUNTU-CVE-2018-11235

Key Facts

Patch in the next maintenance window
  • CVE-2018-11235 is a high-severity vulnerability (CVSS 7.8 v3.1) affecting Git (Gitforwindows), Ubuntu Linux (Canonical), Debian Linux and 22 more products.
  • It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
  • EPSS estimates a 48% probability of exploitation in the next 30 days.
  • Fixed versions are available, including emacs-git 1.8.3.1-14.el7_5, emacs-git 2.14.4-2.58.amzn1, emacs-git-el 1.8.3.1-14.el7_5.
  • Brandefense priority: patch in the next maintenance window, because of its high severity, although no exploitation is known.

Scores

CVSS v3.1

7.8

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

EPSS (30-day exploit likelihood)

48%

Higher than 98.8% of all scored CVEs

Exploit maturity

Proof of concept

ATLAS score

46/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Proof of concept

Public exploit code

1

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

Description

In Git before 2.13.7, 2.14.x before 2.14.4, 2.15.x before 2.15.2, 2.16.x before 2.16.4, and 2.17.x before 2.17.1, remote code execution can occur. With a crafted .gitmodules file, a malicious project can execute an arbitrary script on a machine that runs "git clone --recurse-submodules" because submodule "names" are obtained from this file, and then appended to $GIT_DIR/modules, leading to directory traversal with "../" in a name.

Finally, post-checkout hooks from a submodule are executed, bypassing the intended design in which hooks are not obtained from a remote server.

Affected Products

254 affected entries in total
ProductAffected versionsFixed in
GitGitforwindows2.17.02.17.1
Ubuntu LinuxCanonical14.04, 16.04, 17.10, 18.04n/a
Debian LinuxDebian8.0, 9.0n/a
Enterprise LinuxRedhat7.0n/a
Enterprise Linux DesktopRedhat7.0n/a
20 more affected products in the full CVE brief

Patched Releases

emacs-git

1.8.3.1-14.el7_5, 2.14.4-2.58.amzn1

emacs-git-el

1.8.3.1-14.el7_5, 2.14.4-2.58.amzn1

Git

0:1.8.3.1-14.el7_5, 1:1.9.1-1ubuntu0.8, 1:2.1.4-2.1+deb8u6, 1:2.11.0-3+deb9u3, 1:2.17.1-1, 1:2.17.1-1ubuntu0.1, 1:2.7.4-0ubuntu1.4, 1.8.3.1-14.el7_5, 2.11.3-r1, 2.12.3-27.14.1, 2.13.7, 2.14.4-1.amzn2, 2.14.4-2.58.amzn1, 2.15.2-r0, 2.16.4-3.3.2, 2.16.4-lp150.2.3.1, 2.17.1-1, 2.17.1-1.ph1, 2.17.1-1.ph2, 2.17.1-r0, 2.26.1-3.25.2, 2.26.1-lp151.4.9.1, 2.33.0-1.3, 2.43.7-1.ph5, <=2.17.1

git-all

1.8.3.1-14.el7_5, 2.14.4-1.amzn2, 2.14.4-2.58.amzn1

git-arch

2.12.3-27.14.1, 2.16.4-3.3.2, 2.16.4-lp150.2.3.1, 2.26.1-3.25.2, 2.26.1-lp151.4.9.1, 2.33.0-1.3

git-bzr

1.8.3.1-14.el7_5, 2.14.4-2.58.amzn1

git-core

2.12.3-27.14.1, 2.14.4-1.amzn2, 2.16.4-3.3.2, 2.16.4-lp150.2.3.1, 2.26.1-3.25.2, 2.26.1-lp151.4.9.1, 2.33.0-1.3

git-core-doc

2.14.4-1.amzn2

git-credential-gnome-keyring

2.16.4-lp150.2.3.1, 2.26.1-lp151.4.9.1, 2.33.0-1.3

git-credential-libsecret

2.16.4-lp150.2.3.1, 2.26.1-lp151.4.9.1, 2.33.0-1.3

git-cvs

1.8.3.1-14.el7_5, 2.12.3-27.14.1, 2.14.4-1.amzn2, 2.14.4-2.58.amzn1, 2.16.4-3.3.2, 2.16.4-lp150.2.3.1, 2.26.1-3.25.2, 2.26.1-lp151.4.9.1, 2.33.0-1.3

git-daemon

1.8.3.1-14.el7_5, 2.12.3-27.14.1, 2.14.4-1.amzn2, 2.14.4-2.58.amzn1, 2.16.4-3.3.2, 2.16.4-lp150.2.3.1, 2.26.1-3.25.2, 2.26.1-lp151.4.9.1, 2.33.0-1.3

git-doc

2.12.3-27.14.1, 2.16.4-3.3.2, 2.16.4-lp150.2.3.1, 2.26.1-3.25.2, 2.26.1-lp151.4.9.1, 2.33.0-1.3

git-email

1.8.3.1-14.el7_5, 2.12.3-27.14.1, 2.14.4-1.amzn2, 2.14.4-2.58.amzn1, 2.16.4-3.3.2, 2.16.4-lp150.2.3.1, 2.26.1-3.25.2, 2.26.1-lp151.4.9.1, 2.33.0-1.3

git-extras

2.43.7-1.ph5

git-gnome-keyring

2.14.4-1.amzn2

git-gui

1.8.3.1-14.el7_5, 2.12.3-27.14.1, 2.14.4-1.amzn2, 2.16.4-3.3.2, 2.16.4-lp150.2.3.1, 2.26.1-3.25.2, 2.26.1-lp151.4.9.1, 2.33.0-1.3

git-hg

1.8.3.1-14.el7_5, 2.14.4-2.58.amzn1

git-lang

2.43.7-1.ph5

git-p4

1.8.3.1-14.el7_5, 2.14.4-1.amzn2, 2.14.4-2.58.amzn1, 2.16.4-lp150.2.3.1, 2.26.1-lp151.4.9.1, 2.33.0-1.3

git-scm git

<=2.13.6

git-svn

1.8.3.1-14.el7_5, 2.12.3-27.14.1, 2.14.4-1.amzn2, 2.14.4-2.58.amzn1, 2.16.4-3.3.2, 2.16.4-lp150.2.3.1, 2.26.1-3.25.2, 2.26.1-lp151.4.9.1, 2.33.0-1.3

git-web

2.12.3-27.14.1, 2.16.4-3.3.2, 2.16.4-lp150.2.3.1, 2.26.1-3.25.2, 2.26.1-lp151.4.9.1, 2.33.0-1.3

gitk

1.8.3.1-14.el7_5, 2.12.3-27.14.1, 2.14.4-1.amzn2, 2.16.4-3.3.2, 2.16.4-lp150.2.3.1, 2.26.1-3.25.2, 2.26.1-lp151.4.9.1, 2.33.0-1.3

gitweb

1.8.3.1-14.el7_5, 2.14.4-1.amzn2, 2.14.4-2.58.amzn1

Timeline

  1. Publicly disclosed

    May 30, 2018

  2. Last updated

    Aug 7, 2026

Weakness Type

  • CWE-20 Improper Input Validation
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2018-11235 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Oct 19, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.