CVE-2018-11235
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…
- 7.8HighCVSS base score
- 47.4%Exploitation in 30 daysEPSS · top 1.2% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- YesPublic exploitsa reference or SSVC says so
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. A reference of the record is tagged as an exploit.
Show the exploits1
References tagged exploit1 reference
- 44822 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
Timeline
ID reserved
By mitre
- 12 days later
· 12 days later
Published
- 6 years later
· 6 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | High7.8 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 47.4% · top 1.2% of all CVEs (9 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
n/a
- affected n/a
References
11
- 44822 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- RHSA-2018:2147 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- USN-3671-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- https://marc.info/?l=git&m=152761328506724&w=2 (opens in a new tab)x_refsource_MISCx_transferred
- 1040991 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- RHSA-2018:1957 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- GLSA-201805-13 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- 104345 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- https://blogs.msdn.microsoft.com/devops/2018/05/29/announcing-the-may-2018-git-security-vulnerability/ (opens in a new tab)x_refsource_MISCx_transferred
- DSA-4212 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- openSUSE-SU-2020:0598 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2018-3275 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2018-11235)Record last updated .