Particle.news
Download on the App Store

Git Releases Patch for Six Vulnerabilities That Can Let Malicious Repositories Run Code

Widespread upgrades or temporary workarounds are required to stop attackers using recursive clones, merges, binary patches and fast-import streams to compromise developer systems.

Overview

  • The Git project published fixes in Git 2.56.1 with backports to older maintenance releases to address six flaws that allow remote code execution, path traversal, memory corruption, denial-of-service and unsafe filesystem access.
  • The most serious flaw, CVE-2026-111760, arises from an integer truncation in Git’s index checks that can let a crafted path become a .git file in a submodule and cause attacker-controlled hooks or config to run during a recursive clone.
  • Other patches close gaps that let a malicious server write outside refs during protocol v2 clones, let oversized decoded binary patches crash Git, corrupt stack or heap during merges and let certain git fast-import features read or create files when fed untrusted streams.
  • GitHub says it has deployed fixes on github.com and Enterprise Cloud and has published Enterprise Server updates while it coordinates patched builds of Desktop, Copilot apps, Codespaces and Actions to replace embedded Git copies.
  • Administrators and developers should install the patched Git or apply vendor workarounds if they cannot update immediately, avoid recursive clones and untrusted merges or fast-import inputs, and monitor downstream bundles such as desktop clients and OS packages for updated builds.