hacker-news · Crawled Nov 11, 2026

Git Patches Flaw That Lets Malicious Repositories Execute Code During Recursive Clones

Read original article ↗

AI Summary

A critical vulnerability in Git, tracked as CVE-2026-111760, allows malicious repositories to execute arbitrary code during recursive clones by exploiting an integer truncation flaw in how Git handles long paths. Attackers can manipulate a submodule's .git file to point to a malicious folder containing executable hooks, enabling code execution when Git processes the submodule. The vulnerability has been patched in Git versions 2.56.1 and corresponding updates to earlier series, with GitHub and GitLab confirming fixes in their platforms. Additional related CVEs were disclosed, including memory corruption and path traversal flaws exploitable in code hosting environments.

AI-extracted · verify before operational use

No entities or IoCs were extracted from this article.