Git Patches Six Flaws, Including Code Execution During Recursive Clones
Vulnerability Disclosure · 20 sources · Updated 20h ago · First seen Nov 10, 2026

Git released security updates fixing six vulnerabilities, including CVE-2026-111760, which allows attacker-controlled code execution when recursively cloning a malicious repository with submodules. An integer-truncation flaw in index handling lets extremely long paths bypass validation and replace a submodule’s .git file with a symbolic link to attacker-controlled configuration or hooks. Another flaw, CVE-2026-113408, permits path traversal through an unvalidated HEAD symbolic-reference target advertised by a malicious server when cloning an empty repository over Git protocol v2; a subsequent branch update using the files reference backend can write outside the intended reference directory.
The remaining vulnerabilities involve stack corruption, an out-of-bounds read, heap corruption during merges, and unsafe file access through Git’s fast-import functionality. Fixes are available in Git 2.56.1, with backports in 2.55.1, 2.54.1, 2.53.1, 2.52.1, 2.51.3, and 2.50.2. Organizations should upgrade Git installations and applications that bundle Git, prioritizing developer workstations and automation that process external repositories or inputs. Until patched, users should avoid untrusted repositories and inputs; updates have also been deployed or are planned across GitHub products.


