Skip to content
OpenAdvisories
High · 8.0 Public exploit CVE-2026-111760 EUVD-2026-126653

Git: Recursive clones are susceptible to Remote Code Execution

Published Nov 16, 2026 · Updated Nov 17, 2026 · Assigned by GitHub_M

Description

Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. Prior to 2.50.2, 2.51.3, 2.52.1, 2.53.1, 2.54.1, 2.55.1, and 2.56.1, an attacker-controlled repository hosted by the attacker rather than on a normal forge site can exploit git clone --recurse-submodules by causing Git to overwrite a submodule gitfile with a symbolic link. The symbolic link can point to a directory containing attacker-controlled Git configuration or hooks, allowing those hooks or configuration to execute code on the cloning user's system. The issue requires the recursive-submodule option, and users should avoid cloning repositories from untrusted sources. This issue is fixed in versions 2.50.2, 2.51.3, 2.52.1, 2.53.1, 2.54.1, 2.55.1, and 2.56.1.

Affected products

VendorProductAffectedFixed
git git < 2.50.2, >= 2.51.0, < 2.51.3, >= 2.52.0, < 2.52.1, >= 2.53.0, < 2.53.1, >= 2.54.0, < 2.54.1, >= 2.55.0, < 2.55.1, >= 2.56.0, < 2.56.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 git No fix yet —
Debian 13 git No fix yet —
Debian 12 git No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 git No fix yet —
Ubuntu 26.04 LTS git 1:2.53.0-1ubuntu1.2 USN-9303-1
Ubuntu 24.04 LTS git 1:2.43.0-1ubuntu7.5 USN-9303-1
Ubuntu 22.04 LTS git 1:2.34.1-1ubuntu1.20 USN-9303-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS git No fix yet —
Ubuntu Pro 18.04 LTS git No fix yet —
Ubuntu Pro 16.04 LTS git No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.24 git 2.54.1-r0 —
Alpine v3.23 git 2.52.1-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 git +16 2.50.1-1.amzn2023.0.2 ALAS2023-2026-3445
Amazon Linux 2 git +16 2.47.3-1.amzn2.0.2 ALAS2-2026-4109

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 git No fix yet —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 git +14 2.52.1-1.el10_3 ELSA-2026-104819
Oracle Linux 9 git +14 2.52.1-1.el9_9 ELSA-2026-104820
Oracle Linux 8 git +14 2.43.7-2.el8_10 ELSA-2026-104818

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 5 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 7

References