Help Net SecurityAnamarija PogorelecGit fixes six vulnerabilities, including code execution during recursive clones
Publication date is supplied by the source. Prepared by Cybermonit · Content updated:
AI summary
A very long file path in Git's index can pass safety checks under one name and be written under a shorter one, because an integer truncation occurs. According to the source, an attacker could replace a submodule's .git file with a symbolic link to a directory containing malicious configuration or hooks, causing attacker-controlled code to run during a recursive clone (CVE-2026-111760). The fix rejects overly long index paths before their lengths are truncated. Patches ship in Git 2.56.1 and in backports for the 2.50.2, 2.51.3, 2.52.1, 2.53.1, 2.54.1 and 2.55.1 series. The source does not report exploitation of the six flaws, and Elijah Newren of GitHub says these precautions do not replace installing the fixes.