Chips & Hardware
Git patches six security vulnerabilities in new release
The Git project has released fixes for six security vulnerabilities, including one that could let a malicious repository execute code during a recursive clone.
Git is shipping new releases to fix six security vulnerabilities, with the patches landing in Git 2.56.1 and backported to the 2.55.1, 2.54.1, 2.53.1, 2.52.1, 2.51.3 and 2.50.2 maintenance lines. The project is urging users to update to 2.56.1 or the patched release for their series, and to update any application that bundles its own copy of Git.
The most serious bug, CVE-2026-111760, lets an attacker execute arbitrary code during a recursive clone: an integer-truncation flaw in how Git validates file paths let an attacker swap a submodule’s .git file for a symbolic link pointing at a directory holding malicious configuration or hooks, which Git would then run. A second flaw, CVE-2026-113408, let a malicious server direct a client cloning an empty repository to write files outside the intended reference directory, by abusing an unvalidated HEAD reference during a Git protocol v2 clone.
The remaining four bugs center on memory corruption and unsafe file access: merging a tag carrying more than two GPG signatures could overrun a fixed-size stack buffer (CVE-2026-114467); an oversized compressed binary patch could bypass Git’s size check and trigger an out-of-bounds read (CVE-2026-114469); very large merges with many conflicts could overflow a memory calculation and corrupt the heap (CVE-2026-105437); and three little-used options in git fast-import — now blocked unless a caller explicitly re-enables them — could read or write files outside the repository when fed an untrusted command stream (CVE-2026-114466).
GitHub says it has already deployed fixes across github.com and GitHub Enterprise Cloud, and is pushing patched versions through GitHub Desktop, the GitHub Copilot app, Codespaces and Actions; GitHub Enterprise Server gets fixes in versions 3.19.15, 3.20.11, 3.21.9 and 3.22.4, and the company is urging administrators to upgrade as soon as possible. Until they can patch, Git recommends cloning only from trusted servers, avoiding recursive clones of untrusted repositories, and steering clear of merges, binary patches or fast-import streams from sources that aren’t trusted.
Why it matters
Several of these bugs are exploitable simply by getting a victim to clone or merge something — no phishing or credential theft required — which makes them especially dangerous for CI systems, hosting services and any automation that pulls code from repositories it doesn’t fully control.