CVE-2018-11235

Exp

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.

Published: 2018-05-30 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2018-11235 is rated High Exploit Risk (85.8/100): CVSS High severity, with high exploitation likelihood (EPSS 49.19%, 99th percentile). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +7.47% over the last day, indicating growing attacker interest. Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2018-11235

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2018-11235

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 41.72% 49.19% +7.47%
2 2026-03-04 51.53% 41.72% -9.81%
3 2026-03-01 51.53%

Full EPSS history (53 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2018-11235

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.8 3.0 HIGH
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.8 5.9 [email protected]
6.8 2.0 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
8.6 6.4 [email protected]

Weakness enumeration for CVE-2018-11235

OS Trackers for CVE-2018-11235

vendor priority summary link
alpine high CVE-2018-11235: 1 source package rows (git); 10 state rows across 10 repos (3.10-main, 3.11-main, 3.12-main, 3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 10, open 0. https://security.alpinelinux.org/vuln/CVE-2018-11235
debian not yet assigned CVE-2018-11235 not yet assigned priority: Debian including 1 source packages (git), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2018-11235
gentoo high CVE-2018-11235: 1 GLSA(s) (201805-13), 1 atom(s) (dev-vcs/git); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2018-11235
redhat high https://access.redhat.com/security/cve/CVE-2018-11235
suse high CVE-2018-11235 severity important: SUSE including 205 source package names (emacs-git-1.8.3.1-14.el7_5, emacs-git-el-1.8.3.1-14.el7_5, …), 318 product×package rows across 60 product lines (HPE Helion OpenStack 8, SUSE Enterprise Storage 4, … (60 product lines)): Fixed 312, Known Not Affected 6. https://www.suse.com/security/cve/CVE-2018-11235/
ubuntu high CVE-2018-11235 high priority: Ubuntu including 1 source packages (git), 5 status rows across 5 suites (artful, bionic, trusty, upstream, xenial): released 5. https://ubuntu.com/security/CVE-2018-11235

Affected software / configurations for CVE-2018-11235

Vendor Product Version Raw CPE
debian debian_linux 8.0 cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
debian debian_linux 9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
canonical ubuntu_linux 14.04 cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
canonical ubuntu_linux 16.04 cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
canonical ubuntu_linux 17.10 cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
canonical ubuntu_linux 18.04 cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
redhat enterprise_linux 7.0 cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
redhat enterprise_linux_desktop 7.0 cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
redhat enterprise_linux_server 7.0 cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
redhat enterprise_linux_server_eus 7.5 cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:*
redhat enterprise_linux_workstation 7.0 cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
git-scm git <= 2.13.6 cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*
git-scm git >= 2.14.0, <= 2.14.3 cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*
git-scm git >= 2.15.0, <= 2.15.1 cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*
git-scm git >= 2.16.0, <= 2.16.3 cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*
git-scm git 2.17.0 cpe:2.3:a:git-scm:git:2.17.0:*:*:*:*:*:*:*
gitforwindows git <= 2.17.1 cpe:2.3:a:gitforwindows:git:*:*:*:*:*:*:*:*

References for CVE-2018-11235

URL Tags
http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00003.html
http://www.securityfocus.com/bid/104345 Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1040991 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2018:1957 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:2147 Third Party Advisory
https://blogs.msdn.microsoft.com/devops/2018/05/29/announcing-the-may-2018-git-security-vulnerability/ Patch Technical Description Vendor Advisory
https://marc.info/?l=git&m=152761328506724&w=2 Release Notes Third Party Advisory
https://security.gentoo.org/glsa/201805-13 Third Party Advisory
https://usn.ubuntu.com/3671-1/ Third Party Advisory
https://www.debian.org/security/2018/dsa-4212 Third Party Advisory
https://www.exploit-db.com/exploits/44822/ Exploit Third Party Advisory VDB Entry
cvelogic Threat Intelligence