Git 2.56.1 Released to Patch Critical Security Flaws
Git version 2.56.1 addresses multiple vulnerabilities, including arbitrary code execution and path traversal issues.
Git version 2.56.1 includes fixes for several security vulnerabilities. Backports of these fixes are available for versions 2.55.1, 2.54.1, 2.53.1, 2.52.1, 2.51.3, and 2.50.2. The updates address CVE-2026-111760, which allows arbitrary code execution during recursive clones of malicious repositories due to an integer truncation in index handling. CVE-2026-113408 permits path traversal through a server's advertised HEAD when cloning an empty repository using Git protocol v2. Additionally, CVE-2026-114469 causes out-of-bounds reads when applying binary patches that bypass input-size checks, while CVE-2026-105437 leads to heap corruption during large merges due to an overflow in memory calculation. CVE-2026-114466 allows filesystem access through fast-import streams via features like rewrite-submodules-from and export-pack-edges.
GitHub has deployed fixes for these vulnerabilities across github.com, GitHub Enterprise Cloud, and GitHub Enterprise Cloud with data residency. Updates for GitHub Enterprise Server are available in versions 3.19.15, 3.20.11, 3.21.9, and 3.22.4. GitHub is coordinating releases of GitHub Desktop and the GitHub Copilot app that include patched versions of Git. GitHub Codespaces and GitHub Actions will also receive patched versions. Elijah Newren, a Staff Software Engineer at GitHub, commented on the release. GitLab assigned CVE-2026-105437 and stated that code-hosting servers are most likely to be targeted through git merge-tree. As of Tuesday at 19:09 UTC, Git for Windows had not released a version based on Git 2.56.1.
Sources
- The GitHub BlogGit security vulnerabilities announced ↗
- The Hacker NewsGit Patches Flaw That Lets Malicious Repositories Execute Code During Recursive Clones ↗
Every sentence of this story was checked against facts quoted from these articles. How we make the news
Spotted an error? Tell us
