Read the docs

Git recursive clones allow remote code execution

Priority LOW 34CWE-59Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
Fix Partial git (git): 2.50.2, 2.51.3, 2.52.1 +4Red Hat: 11 without a fix

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

VendorProductAffected versionsFixed inStatusSource
Gitgitbefore 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.12.50.2, 2.51.3, 2.52.1, 2.53.1, 2.54.1, 2.55.1, 2.56.1Patch availableCNA
—git——No fix listedGHSA-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 →

ProductStatusPlan or fix
Red Hat Enterprise Linux 10AffectedNo fix yet
Red Hat Enterprise Linux 6AffectedNo fix yet
Red Hat Enterprise Linux 7AffectedNo fix yet
Red Hat Enterprise Linux 8AffectedNo fix yet
Red Hat Enterprise Linux 9AffectedNo fix yet
Red Hat Hardened ImagesAffectedNo fix yet
Red Hat OpenShift AI (RHOAI)AffectedNo fix yet
Red Hat OpenShift Container Platform 4AffectedNo fix yet
Red Hat OpenShift Container Platform 5AffectedNo fix yet
Red Hat OpenShift Dev SpacesAffectedNo fix yet
Red Hat Satellite 6AffectedNo fix yet

Timeline

  1. 2026-11-12 Threatist record created from GHSA-vp2w-7xxj-jvxr
  2. 2026-11-12 Alias added: CVE-2026-111760
  3. 2026-11-14 Affected versions changed · Red Hat
  4. 2026-11-14 CVSS score added · Red Hat
  5. 2026-11-16 Title updated · CNA
  6. 2026-11-16 CVSS score added · CNA
  7. 2026-11-16 Weakness changed · CNA
  8. 2026-11-16 Affected versions changed · CNA
  9. 2026-11-16 9 new references · CNA
  10. 2026-11-16 CISA SSVC decision points changed
  11. 2026-11-17 CISA SSVC decision points changed

References

  • 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
See all 37 →

Sources