01
Git patches six flaws, including code execution during recursive clones
The Git project released fixes for six vulnerabilities that could enable code execution, unintended file writes, memory corruption or crashes when processing malicious repositories and crafted input. The most severe described flaw can let attacker-controlled code run during a recursive clone by exploiting an index-path truncation issue. Maintainers recommend upgrading to Git 2.56.1 or the patched release for each supported series, including bundled copies; GitHub also provided upgrade guidance for its products.
What changed Git now rejects excessively long index paths before truncation, closing the path-handling discrepancy used in the recursive-clone attack.
Why it matters Services that merge untrusted repositories are exposed alongside local developers: attacker-controlled merge inputs can corrupt memory, making server-side Git installations part of the patching scope.
What to watch next Patched builds for GitHub Desktop and the Copilot app remain in coordination; Codespaces and Actions are also due to receive them. The source gives no rollout dates.
HelpNet Security ↗