Git
Git: Recursive clones are susceptible to Remote Code Execution
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- < 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 2.50.2, 2.51.3, 2.52.1, 2.53.1, 2.54.1, 2.55.1, 2.56.1
Mitigation
Upgrade git to 2.50.2 or 2.51.3 or 2.52.1 or 2.53.1 or 2.54.1 or 2.55.1 or 2.56.1 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 5.1 days before publication; not in CISA KEV. First PoC: Ghost-Bx1/cve-2026-111760-git-submodule-symlink-rce (created 11 Nov 2026, found by us: 17 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs · 3 pending
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| Ghost-Bx1/cve-2026-111760-git-submodule-symlink-rce | 11 Nov 2026 −5.1 d | 17 Nov 2026 | 0 | PoC via PoC Index |
Pending 3
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| suominen/CVE-2026-111760 | 11 Nov 2026 −5.5 d | 17 Nov 2026 | 0 | Pending |
| SSJCorpSec/cve-2026-111760-40b639e0 | 15 Nov 2026 −1.8 d | 17 Nov 2026 | 0 | Pending |
| SSJCorpSec/cve-2026-111760-b3-85967fc9 | 16 Nov 2026 −17 h | 17 Nov 2026 | 0 | Pending |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.