Git Patches Six Vulnerabilities to Prevent Code Execution via Malicious Repositories
Cybersecurity and privacy · AI coding
The Git project patched six security flaws, including high-severity CVE-2026-111760. Caused by integer truncation during index processing, it allows arbitrary code execution via symlinks when recursively cloning malicious submodules. Updates are available, and users are urged to avoid recursive clones of untrusted sources until patched.
On November 10, the Git project released security updates addressing six vulnerabilities, including CVE-2026-111760, which carries a CVSS 3.1 score of 8.0. GitHub explained that this issue stems from integer truncation during index processing. An attacker can craft overly long paths to replace a submodule's .git file with a symbolic link pointing to malicious configurations or hooks, resulting in arbitrary code execution during subsequent Git operations. The Git project noted that triggering this vulnerability requires users to clone repositories recursively using the --recurse-submodules flag. The other five vulnerabilities cover path traversal, memory corruption, out-of-bounds reads, and unauthorized file access. Notably, CVE-2026-105437 can cause heap memory corruption during large merge operations, impacting hosting services and applications handling untrusted merges. Git version 2.56.1 and maintenance releases for older branches have been published. GitHub.com and GitHub Enterprise Cloud have been patched, with updates also available for GitHub Enterprise Server. Updates for GitHub Desktop, GitHub Copilot app, Codespaces, and Actions are rolling out. Git maintainers advise users to avoid recursive clones of untrusted repositories until updates are applied.
Key takeaways
- Git resolved six vulnerabilities, including CVE-2026-111760 (CVSS 8.0) and CVE-2026-105437, which can trigger heap memory corruption.
- CVE-2026-111760 stems from index integer truncation, enabling code execution via symlink substitution during recursive submodule clones.
- Git 2.56.1 and multiple patch versions were released; GitHub platforms have updated or are rolling out fixes, and users should avoid untrusted recursive clones.
Source:iThome Read the original ↗
Prepared, checked and automatically published by AI; not individually reviewed by a human. Translation checked by AI.