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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | git | No fix yet | — |
| Debian 13 | git | No fix yet | — |
| Debian 12 | git | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | git | 2.54.1-r0 | — |
| Alpine v3.23 | git | 2.52.1-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | git | No fix yet | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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.
GitHub 5 repositories
-
googlesky/CVE-2026-111760 ★ 0 · Nov 23, 2026
Git <2.56.1: size_t path length truncated into 32-bit ce_namelen — path validated as '.gitz/...' written as '.git' during checkout (RCE in recursive clone). Verbatim verify_ce_namelen from 29411cf: .…
-
SSJCorpSec/cve-2026-111760-b3-85967fc9 ★ 0 · Nov 16, 2026
-
SSJCorpSec/cve-2026-111760-40b639e0 ★ 0 · Nov 15, 2026
-
suominen/CVE-2026-111760 ★ 0 · Nov 11, 2026
-
Ghost-Bx1/cve-2026-111760-git-submodule-symlink-rce ★ 0 · Nov 11, 2026
CVE-2026-111760 - Git Submodule Symlink RCE (CVSS 8.0)
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 7
- USN-9303-1 git vulnerabilities Ubuntu Security Notices (USN) · Dec 2, 2026
- WID-SEC-2026-4455 git: Mehrere Schwachstellen BSI CERT-Bund (WID) · Dec 1, 2026
- ELSA-2026-104819 Important: git security update (Oracle Linux 10) Oracle Linux Security Advisories (ELSA) · Nov 30, 2026
- ELSA-2026-104820 Important: git security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Nov 30, 2026
- ELSA-2026-104818 Important: git security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Nov 30, 2026
- ALAS2023-2026-3445 Important: git security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Nov 12, 2026
- ALAS2-2026-4109 Important: git security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Nov 12, 2026
References
- https://github.com/git/git/security/advisories/GHSA-vp2w-7xxj-jvxr
- https://github.com/git/git/commit/29411cf59fd417d8fce1be40ab2911e3e0885f26
- https://gitlab.com/git-scm/git/-/blob/v2.50.2/Documentation/RelNotes/2.50.2.adoc
- https://gitlab.com/git-scm/git/-/blob/v2.51.3/Documentation/RelNotes/2.51.3.adoc
- https://gitlab.com/git-scm/git/-/blob/v2.52.1/Documentation/RelNotes/2.52.1.adoc
- https://gitlab.com/git-scm/git/-/blob/v2.53.1/Documentation/RelNotes/2.53.1.adoc
- https://gitlab.com/git-scm/git/-/blob/v2.54.1/Documentation/RelNotes/2.54.1.adoc
- https://gitlab.com/git-scm/git/-/blob/v2.55.1/Documentation/RelNotes/2.55.1.adoc
- https://gitlab.com/git-scm/git/-/blob/v2.56.1/Documentation/RelNotes/2.56.1.adoc