Git patches six flaws in repository processing
Git has released fixes for six vulnerabilities, including code execution during recursive clones of malicious repositories. One flaw lets an extremely long path pass validation before its length is truncated, redirecting writes toward repository metadata. Git 2.56.1 and patched maintenance releases address the issues; applications that bundle their own Git copy need updates too.
GitHub Blog · Nov 10, 2026
Why it matters
CI workers and developer machines process repository contents before application tests can protect them.
More context
Other fixes address unvalidated reference targets, memory corruption in merges, oversized binary patches and unsafe import features. Check the Git versions used by automation and bundled applications, then install the patched release for each maintenance series.
Keep in mind
Exploit conditions differ across the six flaws; this does not mean every clone or merge executes attacker code. GitHub’s hosted fixes do not update local installations.
Original read