Git Patches Flaw That Lets Malicious Repositories Execute Code During Recursive Clones
Overview
A vulnerability in Git, tracked as CVE-2026-111760, allows malicious repositories to execute arbitrary code on users' systems during recursive cloning. This issue arises from an integer truncation in how Git manages its index, particularly affecting the cloning of repositories along with their submodules. Git has addressed this flaw in version 2.56.1 and has also released fixes for earlier versions ranging from 2.50 to 2.55. Users who clone repositories recursively should update to the latest version to protect themselves from potential exploitation. This incident highlights the risks associated with open-source software, where malicious actors can exploit vulnerabilities to execute harmful code on unsuspecting users' machines.
Key Takeaways
- Affected Systems: Affected versions include Git 2.50 through 2.56.1. Specifically, patches were released for versions 2.50.2, 2.51.3, 2.52.1, 2.53.1, 2.54.1, 2.55.1, and 2.56.1.
- Action Required: Users should update to Git version 2.
- Timeline: Newly disclosed
Original Article Summary
A flaw in Git can let a malicious repository run an attacker's code on a computer that clones it recursively, together with its submodules. The Git project fixed it this week in Git 2.56.1, with matching fixes for the 2.50 through 2.55 series in 2.50.2, 2.51.3, 2.52.1, 2.53.1, 2.54.1 and 2.55.1. The flaw, tracked as CVE-2026-111760, is an integer truncation in how Git handles its index. An
Impact
Affected versions include Git 2.50 through 2.56.1. Specifically, patches were released for versions 2.50.2, 2.51.3, 2.52.1, 2.53.1, 2.54.1, 2.55.1, and 2.56.1.
Exploitation Status
No active exploitation has been reported at this time. However, organizations should still apply patches promptly as proof-of-concept code may exist.
Timeline
Newly disclosed
Remediation
Users should update to Git version 2.56.1 or apply the corresponding patches for earlier versions: 2.50.2, 2.51.3, 2.52.1, 2.53.1, 2.54.1, and 2.55.1.
Additional Information
This threat intelligence is aggregated from trusted cybersecurity sources. For the most up-to-date information, technical details, and official vendor guidance, please refer to the original article linked below.
Related Topics: This incident relates to CVE, Exploit, Vulnerability, and 1 more.