Git releases 2.56.1 and backports to fix six vulnerabilities, including code execution on recursive clone

The Git project has released security updates fixing six vulnerabilities that can lead to arbitrary code execution, writes to unintended files, or memory corruption when processing merges or binary patches. The most serious, CVE-2026-111760, is an integer truncation in index handling that lets an extremely long path pass validation under one name and be written under a shorter one, enabling code execution when cloning a malicious repository recursively. Fixes ship in Git 2.56.1 with backports in 2.55.1, 2.54.1, 2.53.1, 2.52.1, 2.51.3 and 2.50.2.

AI-written summary, checked against the cited sources. How summaries work

Image: The Hacker News

Why it matters

Git users should update to Git 2.56.1 or the patched release for their maintenance series (2.55.1, 2.54.1, 2.53.1, 2.52.1, 2.51.3 or 2.50.2), and also update applications that bundle Git.

Primary source

Git security vulnerabilities announced GitHub Blog

CVE-2026-111760

Severity
8.0 High · CVSS 3.1 · GitHub
Exploited
Not in CISA’s catalog
Published
git

Affected: < 2.50.2; >= 2.51.0, < 2.51.3; >= 2.52.0, < 2.52.1; >= 2.53.0, < 2.53.1; >= 2.54.0, < 2.54.1; >= 2.55.0, < 2.55.1; >= 2.56.0, < 2.56.1

github.com · gitlab.com · CVE record · NVD

What we know

Confirmed by several sources

Reported by one source

  • The code execution flaw is triggered when a repository is cloned recursively together with its submodules. — The Hacker News
  • The vulnerabilities also include memory corruption when processing merges or binary patches, and an attacker-controlled Git server can exploit the path discrepancy. — GitHub Blog
  • The announcement was updated on November 17, 2026 with additional CVE information and guidance for GitHub Enterprise Server users. — GitHub Blog

Open questions

Coverage 3 publishers

  1. GitHub BlogFirst reportPrimary source

    Git security vulnerabilities announced

    Editor’s note (November 17, 2026): This post has been updated with additional CVE information and updated guidance for GitHub Enterprise Server users. Please see the release information below for the versions that include the fixes. Today…

  2. The Hacker News

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

    A flaw in Git can let a malicious repository run an attacker's code on a computer that clones it recursively, together with its submodules. The Git project fixed it this week in Git 2.56.1, with matching fixes for the 2.50 through 2.55…

  3. Help Net Security

    Git fixes six vulnerabilities, including code execution during recursive clones

    The Git project has released security updates addressing six vulnerabilities that could allow attackers to execute code, write to unintended files or cause memory corruption when Git processes malicious repositories or other specially…

Earliest report first. Articles stay on their publishers’ sites; each link opens the original.