BreachSpiderVerified, not vibes

CVE-2018-11235 in Canonical Ubuntu Linux and 8 more products

High 7.8

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...

Affects 9 products from 5 vendors. Facts below cite their sources.

CVSS 3.07.8
EPSS47.4%
EPSS percentile99th
FixUnknown

Requires local access, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Canonical Ubuntu Linux 14.04 16.04 17.10 18.04
Debian Debian Linux 8.0 9.0
Git-Scm Git 2.17.0 ≤ 2.13.6 ≥ 2.14.0, ≤ 2.14.3 ≥ 2.15.0, ≤ 2.15.1 ≥ 2.16.0, ≤ 2.16.3
Gitforwindows Git ≤ 2.17.1
Redhat Enterprise Linux Workstation 7.0
Redhat Enterprise Linux Server Eus 7.5
Redhat Enterprise Linux Server 7.0
Redhat Enterprise Linux Desktop 7.0
Redhat Enterprise Linux 7.0
Phoenixcontact Plcnext Engineer ≤ 2023.3

Show 1 more products

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2018-11235
BreachSpider IDBS-2018-GLOBAL-212333-H
CVSS vectorCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published2018-05-30
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-22: Path Traversal

Attacker manipulates file path inputs to access files outside the intended directory.

Related attack patterns (CAPEC)

CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-22

CAPEC-76 Manipulating Web Input to File System Calls via CWE-22

CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-22

CAPEC-79 Using Slashes in Alternate Encoding via CWE-22

CAPEC-126 Path Traversal via CWE-22

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2018. A high severity vulnerability affects Canonical systems (CVE-2018-11235). A proof-of-concept has been published. Isolate affected systems if patching is not feasible.

Vulnerability details: 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, bypas CVSS vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Questions

What is CVE-2018-11235?

This vulnerability was disclosed in 2018. A high severity vulnerability affects Canonical systems (CVE-2018-11235). A proof-of-concept has been published. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2018-11235?

CVE-2018-11235 has CVSS 7.8 (High). Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 47.4%.

Is CVE-2018-11235 actively exploited?

No confirmed active exploitation of CVE-2018-11235 as of 2026-09-25.

How do I remediate CVE-2018-11235?

Priority: MEDIUM.

What systems are affected by CVE-2018-11235?

CVE-2018-11235 affects Canonical Ubuntu Linux; Debian Debian Linux; Git-Scm Git; Gitforwindows Git; Redhat Enterprise Linux Workstation, Enterprise Linux Server Eus, Enterprise Linux Server, Enterprise Linux Desktop, Enterprise Linux.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.