Git Patches CVE-2026-111760: Malicious Repos Could Execute Code via Recursive Clones

evilsocket · x · 2026-11-11

Git fixed CVE-2026-111760, a flaw letting malicious repositories run attacker code during recursive clones with submodules. An integer truncation in index handling lets an extremely long path pass safety checks, then get written to disk under an attacker-chosen short name like .git, which can be swapped for a symlink to malicious hooks. Fixed in Git 2.56.1 plus 2.50.2–2.55.1 maintenance releases; GitHub has patched github.com and Enterprise Cloud, with Enterprise Server fixes in 3.19.15–3.22.4. Users should upgrade Git and any apps bundling it.

Original post →

More from coding & agent

coding & agent channel →