Back to Feed
VulnerabilitiesNov 10, 2026

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

Git fixes flaw allowing malicious repos to execute code during recursive clones.

Git has patched a vulnerability (CVE-2026-111760) that allowed malicious repositories to execute attacker code during recursive clones by exploiting an integer truncation flaw in how Git handles its index. The flaw enables an attacker to replace a submodule's .git file with a symbolic link to malicious hooks or configurations. Git versions 2.56.1 and specific patches for older series have been released to address this, along with five other disclosed flaws.

AI summary of the linked source. Not reviewed by an editor. How this works

Vendor Watch

Run GitHub?

Get an email when a new story names GitHub, usually within the hour.

Free. Your list stays private and never appears in a subject line. One click stops it. How Vendor Watch worksPrivacy

The lesson from this incident

Full lesson

A vulnerability in Git's index-handling logic allowed an integer truncation flaw to be exploited during recursive clones, enabling attackers to replace a submodule's .git file with a symbolic link pointing to malicious hooks or configurations. This means simply cloning a repository from an untrusted source could result in arbitrary code execution on the developer's machine — without any additional user interaction beyond the clone command itself. Developer workstations are high-value targets because they often hold credentials, signing keys, and access to production pipelines. The risk is amplified in CI/CD environments where recursive clones are automated and run with elevated permissions. Patching to Git 2.56.1 or the relevant backported fix is essential to close this attack vector.

What helps against this

How we list vendors

Indicators of Compromise

Extracted by AI from the linked source. Not reviewed by an editor. How this works

  • cve — CVE-2026-111760
  • cve — CVE-2026-113408
  • cve — CVE-2026-114467
  • cve — CVE-2026-114469
  • cve — CVE-2026-105437
  • cve — CVE-2026-114466

Entities

Git (product)GitHub (vendor)GitHub Enterprise Cloud (product)GitHub Enterprise Server (product)GitHub Desktop (product)GitHub Copilot (product)