Git recursive clones allow remote code execution
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 11 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
Git versions before 2.50.2 and from 2.51.0 before 2.51.3, from 2.52.0 before 2.52.1, from 2.53.0 before 2.53.1, from 2.54.0 before 2.54.1, from 2.55.0 before 2.55.1 and from 2.56.0 before 2.56.1 are affected. The recursive submodule clone option lets a repository overwrite a submodule gitfile with a symbolic link (CWE-59). An attacker hosting a malicious repository can run code on the system of a user who clones it with recursive submodules.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Git | git | before 2.50.2; 2.51.0 to before 2.51.3; 2.52.0 to before 2.52.1; 2.53.0 to before 2.53.1; 2.54.0 to before 2.54.1; 2.55.0 to before 2.55.1; 2.56.0 to before 2.56.1 | 2.50.2, 2.51.3, 2.52.1, 2.53.1, 2.54.1, 2.55.1, 2.56.1 | Patch available | CNA |
| — | git | — | — | No fix listed | GHSA-vp2w-7xxj-jvxr |
- git VendorGit Affected before 2.50.2; 2.51.0 to before 2.51.3; 2.52.0 to before 2.52.1; 2.53.0 to before 2.53.1; 2.54.0 to before 2.54.1; 2.55.0 to before 2.55.1; 2.56.0 to before 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 Patch available CNA
- git Vendor— Affected — Fixed in — No fix listed GHSA-vp2w-7xxj-jvxr
Remediation
Upgrade Git to 2.50.2, 2.51.3, 2.52.1, 2.53.1, 2.54.1, 2.55.1 or 2.56.1. Red Hat states that no plan is available to fix Red Hat Enterprise Linux 6, 7, 8, 9 and 10, Red Hat Hardened Images, Red Hat OpenShift AI (RHOAI), Red Hat OpenShift Container Platform 4 and 5, Red Hat OpenShift Dev Spaces and Red Hat Satellite 6.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
- Fix · CNA git (git) Fixed in 2.50.2, 2.51.3, 2.52.1, 2.53.1, 2.54.1, 2.55.1, 2.56.1
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet |
| Red Hat Enterprise Linux 6 | Affected | No fix yet |
| Red Hat Enterprise Linux 7 | Affected | No fix yet |
| Red Hat Enterprise Linux 8 | Affected | No fix yet |
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| Red Hat Hardened Images | Affected | No fix yet |
| Red Hat OpenShift AI (RHOAI) | Affected | No fix yet |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet |
| Red Hat OpenShift Dev Spaces | Affected | No fix yet |
| Red Hat Satellite 6 | Affected | No fix yet |
Timeline
- 2026-11-12 Threatist record created from GHSA-vp2w-7xxj-jvxr
- 2026-11-12 Alias added: CVE-2026-111760
- 2026-11-14 Affected versions changed · Red Hat
- 2026-11-14 CVSS score added · Red Hat
- 2026-11-16 Title updated · CNA
- 2026-11-16 CVSS score added · CNA
- 2026-11-16 Weakness changed · CNA
- 2026-11-16 Affected versions changed · CNA
- 2026-11-16 9 new references · CNA
- 2026-11-16 CISA SSVC decision points changed
- 2026-11-17 CISA SSVC decision points changed
References
Other 8
- 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
More Git vulnerabilities
- TI-2025-30709 Git config quoting flaw allows arbitrary code execution KEVCVSS 3.1HIGH 8.1
- TI-2022-07580 gitattributes parsing integer overflow in git CVSS 3.1CRITICAL 9.8
- TI-2022-20244 Integer overflow in `git archive`, `git log --format` leading to RCE in git CVSS 3.1CRITICAL 9.8
- TI-2021-04400 malicious repositories can execute remote code while cloning CVSS 3.1HIGH 8.0
- TI-2024-21101 Git's recursive clones on case-insensitive filesystems that support symlinks are susceptible to Remote Code Execution CVSS 3.1CRITICAL 9.1
- TI-2023-10933 "git apply --reject" partially-controlled arbitrary file write CVSS 3.1HIGH 7.5
Sources
- CVE-2026-111760 · CVE Program
- CVE-2026-111760 · NVD
- GHSA-vp2w-7xxj-jvxr · GitHub security advisory
- CVE-2026-111760 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences