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.
Exploitability Profile
None Observed
No active abuse flagged
Available
0 PoC signals · 1 repo
Confirmed
3 patch mentions · 6 advisories
Stable
Peak 1 on Sep 5, 2026
Operational SSVC remediation guidance paired with multi-source scoring and CWE mappings.
Recommended SOC / VM Action
Verify version impact across your CPE inventory and schedule remediation within the next planned patch window.
| Authority |
|---|
Triage Priority
CVSS v3.0
Authoritative NIST NVD score · 2 sources compared below
3mentions
Across 3 tracked days
| Version |
|---|
| Score |
|---|
| Vector String |
|---|
NISTNIST NVD | v3.0 | 7.8HIGH | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
NISTNIST NVD | v2.0 | 6.8MEDIUM | AV:N/AC:M/Au:N/C:P/I:P/A:P |
3 total mentions across 3 observed days · Peak 1 on Sep 5, 2026
Deduplicated GitHub PoCs, vendor advisories, NVD references, and researcher links.
Normalized NVD configurations scoped by vendor, product, version, and platform.
Affected Vendors
| Part | Vendor | Product | Version | CPE 2.3 URI |
|---|---|---|---|---|
| OS | Canonical | Ubuntu Linuxlts | 14.04 | cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* |
| OS | Canonical | Ubuntu Linuxlts | 16.04 | cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* |
| OS | Canonical | 17.10 | cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:* | |
| OS | Canonical | Ubuntu Linuxlts | 18.04 | cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* |
| OS | Debian | 8.0 | cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | |
| OS | Debian | 9.0 | cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | |
| App | Git Scm | All versions | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* | |
| App | Git Scm | 2.17.0 | cpe:2.3:a:git-scm:git:2.17.0:*:*:*:*:*:*:* | |
| App | Gitforwindows | All versions | cpe:2.3:a:gitforwindows:git:*:*:*:*:*:*:*:* | |
| OS | Red Hat | 7.0 | cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* | |
| OS | Red Hat | 7.0 | cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* | |
| OS | Red Hat | 7.0 | cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* | |
| OS | Red Hat | 7.5 | cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:* | |
| OS | Red Hat | 7.0 | cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* |