
Git 2.56.1 Patches Critical Flaw Allowing Code Execution via Recursive Clones
Git has released version 2.56.1 to fix a critical vulnerability (CVE-2026-111760) that allowed attackers to execute arbitrary code during recursive clones of malicious repositories. The flaw involved an integer truncation in path handling, enabling attackers to replace submodule .git files with symbolic links to malicious hooks. GitHub has already deployed fixes to its cloud and enterprise services, while other vendors are preparing updates. Users are advised to update immediately and avoid cloning untrusted repositories recursively until patched.