CVE Index中文
L3 · ShartedGit · RCE · CI/CDgit-november-security

Git 2.56.1 fixes recursive-clone code execution and five other vulnerabilities

Git fixed six bugs across seven release lines. Recursively cloning a repository hosted by an attacker can run code on the cloning host. Other flaws affect untrusted refs, tags, merges, binary patches and fast-import streams.

Disclosed
Nov 10, 2026
Public disclosure date
Severity
Sharted
6 CVEs tracked here
Splash zone
Git clients and automation recursively cloning attacker-hosted repositories or processing other crafted Git inputs.
Git · RCE · CI/CD
In the wild
Unknown
The maintainer confirms the attack path. No in-the-wild exploitation was verified.

What happened

Git’s November release addresses a code execution path where a very long index entry passes path validation under one name and is written under a truncated name. In the recursive-clone path the write can replace a submodule’s gitfile with a symlink. The code then runs with the privileges of the user or job performing the clone. The maintainer describes a repository hosted by the attacker and a recursive clone using --recurse-submodules. A top-level repository on a familiar forge can still point to a malicious submodule on a different host through .gitmodules.

GitHub reports fixes on GitHub.com and GitHub Enterprise Cloud, including data residency. Its November 10 announcement lists GitHub Enterprise Server updates separately and describes patched Git for Actions, Codespaces, GitHub Desktop and the Copilot app as forthcoming. Verify the installed version in the environment where Git actually runs. Distribution packages may carry backported fixes under different package versions. The maintainers identify affected releases back to 2.27.0 and provide no upstream maintenance releases for branches below 2.50. Migrate older installations or verify a fix with the distributor that maintains your build.

The other five vulnerabilities have distinct inputs. For example, an attacker can trigger the three-way merge flaw through a service that checks mergeability using attributes from the proposed tree. Avoid untrusted inputs until the relevant service has been updated.

What’s in the bowl

CVE-2026-111760

Code execution during recursive clone

A crafted path can overwrite the submodule gitfile with a symlink to attacker-controlled Git configuration or hooks. The maintainer describes an attacker-hosted repository cloned with --recurse-submodules.

Path traversal through an unborn HEAD

When cloning an empty repository from a malicious protocol v2 server with the files reference backend, Git can store a malformed unborn HEAD target. A later branch update can write outside the reference directory.

Stack corruption when merging signed tags

Merging a crafted tag with more than two GPG signatures can corrupt the stack and crash Git, including on a service that performs that merge.

Out-of-bounds read in binary patches

Applying a compressed binary patch with an oversized expanded form can bypass the input limit and crash Git.

Heap overflow in large three-way merges

Large merge output can overflow a size calculation. A crafted conflict-marker-size can amplify it when the operation reads attributes from the relevant tree.

Filesystem access through fast-import streams

Untrusted stream directives can read files through submodule mark rewriting or create and append to files through export-pack-edges. Patched Git gates them behind --allow-unsafe-features.

Fixed versions

ProductSafe fromNote
Git 2.562.56.1
Git 2.552.55.1
Git 2.542.54.1
Git 2.532.53.1
Git 2.522.52.1
Git 2.512.51.3
Git 2.502.50.2

Crime-scene timeline

  1. Nov 10, 2026

    Git publishes six fixes

    Git 2.56.1 and six maintenance releases are available. GitHub reports hosted-service fixes and lists GitHub Enterprise Server updates.

Who said what

We list each claim and who made it. Primary sources (the vendor, the researcher, the registry) are marked. Where reports disagree, we grade by the worst credible case.