Short answer: the Git project published security releases Today, so the right move is Git 2.56.1 — or 2.55.1, 2.54.1, 2.53.1, 2.52.1, 2.51.3 and 2.50.2 if you are pinned to an older maintenance line — installed on every laptop, build image and app that carries its own copy of Git. six vulnerabilities are involved, spread across recursive clones, reference handling, merges and binary patch parsing. The risk that actually matters tonight is not the exotic one; it is the everyday "clone a repository you did not write" path.
Conclusion first: most of this release is reachable through things developers do weekly — cloning with submodules, fetching from a server nobody audited, and merging tags on someone else's behalf.
The Git project's security post on the GitHub blog, dated 11 November 2026, walks through each CVE and the backport list. Read as a workflow document rather than a press release, it says something simpler: the code that touches the network and the filesystem at the same moment is where Git keeps finding trouble.
Independent tracking points the same direction. A hardening baseline published in October 2026 by Safeguard reviewed this year's Git advisories by bug class and reported that submodule and path-confusion issues were the most severe on average, with five of seven submodule advisories rated High or Critical. That is third-party analysis, not an official severity ranking — but it matches what the 2024 incident taught everyone.
The last time a clone turned into code execution, it was CVE-2024-32002, where a crafted submodule could push files into a .git/ directory instead of the submodule worktree, letting a hook run while git clone was still executing. The National Vulnerability Database entry records the interim advice of the day: disabling symbolic link support with git config --global core.symlinks false blocks that specific attack, and the problem was confined to Windows and macOS because those filesystems do not distinguish letter case. Today's CVE-2026-111760 is a different root cause (integer truncation of an index path length, not case confusion), yet the shape of the exploit is the same family: a repository that lies about where a file will land.
| Your line today | Install | What you get |
|---|---|---|
| 2.56.x (current feature line) | Git 2.56.1 | All six fixes plus the extra overflow checks around index allocations |
| 2.55.x | 2.55.1 | Backport for the previous minor series |
| 2.54.x | 2.54.1 | Backport for the previous minor series |
| 2.53.x | 2.53.1 | Backport for the previous minor series |
| 2.52.x | 2.52.1 | Backport for the previous minor series |
| 2.51.x | 2.51.3 | Third point release on that line |
| 2.50.x | 2.50.2 | Oldest series the project chose to backport in this batch |
| Older than 2.50.x | Move to a supported line | No backport is listed in this announcement, so plan the jump now |
One sentence, three times, because it is the part people skip: the version in your terminal is not the only Git on your machine. GitHub Desktop ships its own, the GitHub Copilot app ships its own, many IDEs and GUI clients do the same, and every container base image with git baked in has a copy that will not move until you rebuild it.
Below, "trigger" is the practical question to ask about your own pipelines. Terms are expanded inline because these bugs hide in plumbing.
.git file for a symbolic link pointing at hostile configuration or hooks. Ask: does any script, CI job or onboarding doc on your team run --recurse-submodules against repositories from strangers?.. segments and you use the files reference backend (refs stored as plain files rather than in a database), a later branch update can write outside the intended refs directory. Ask: which servers do you or your tools clone from that you could not name the operator of?conflict-marker-size attribute the arithmetic overflows, the buffer is too small and the heap gets corrupted. Ask: does automation merge untrusted content, and is it sandboxed?git fast-import builds a repository from a stream of commands, usually driven by a migration tool rather than by you. Three additional stream-level features — rewrite-submodules-from, rewrite-submodules-to and the export-pack-edges option — lacked the guard that similar commands already had, so they could read arbitrary files (leaking contents in error text) or create and append to files.Work down the list rather than only doing step 1 — the missed copies are the interesting ones.
where git; on macOS and Linux use which -a git. Multiple hits mean multiple binaries, and shells cache paths, so run hash -r (or open a new terminal) after installing.git --version should report Git 2.56.1, or the patched point release for the line you are staying on.winget upgrade --id Git.Git, or the built-in updater in Git for Windows (git update-git-for-windows). The installer from git-scm.com also works if your fleet is managed through software distribution.brew update && brew upgrade git. If you are on Apple's copy that ships with the command line tools, that build trails upstream and gets patched through Xcode and macOS updates, so treat the toolchain update as part of the job — historically Apple has closed Git flaws inside Xcode releases rather than waiting for upstream package managers.sudo apt update && sudo apt install git on Debian-family systems, sudo dnf upgrade git on Fedora, sudo pacman -Syu git on Arch. If your distro has not published the point release yet, record the gap and re-check the distro advisory rather than hand-building over a package-managed binary.FROM some/base:tag.These are exposure reductions, not fixes, and the release notes say the same.
--recurse-submodules off and pull submodules deliberately after inspection.fast-import streams from untrusted sources until you are patched.git config --global core.symlinks false only if your repositories do not depend on symlinks — it is a documented mitigation from the 2024 case, not a stated fix for these six, and it can break legitimate checkouts.The behavior worth pre-flighting is the import hardening. Because rewrite-submodules-from, rewrite-submodules-to and export-pack-edges are now rejected inside the stream unless the caller passes --allow-unsafe-features, migration frontends that relied on them will fail loudly instead of quietly reading or writing outside the repository. The official git-fast-import documentation already carries the rule of thumb: enable that flag only when you trust the program generating the stream.
This has precedent. The Git 2.38.1 batch changed protocol.file.allow to default to user and refused to dereference symlinks in $GIT_DIR/objects during --local clones; teams that scripted around those defaults hit confusing errors until they narrowed the exception to the specific job that needed it. Do the same here: scope any unsafe flag to one command, never to a global config, and test importers on a copy of the data first.
Server-side is largely handled, client-side is not:
Fleet owners should attach this to their normal change-control process. The same argument we made about why a WinUI 3 registry editor needs versioned change audits before enterprise use applies to a version control binary: tools that mutate state on behalf of many people need a recorded, reviewed upgrade path, not a lucky restart.
hash -r, you can verify the wrong path and believe you are fixed.--allow-unsafe-features as a workaround. That restores the exact capability the fix removed.No. These are fixes to how Git validates paths, refs, signatures, patches and import streams. Your objects and history are not being rewritten; the working repository layout stays as it is.
This announcement lists no platform restriction, unlike the 2024 case whose clone bug depended on case-insensitive filesystems. Patch Linux servers and containers too.
Possibly, because GUI clients bundle Git. GitHub Desktop, the GitHub Copilot app and most IDE integrations carry their own copy, so update the application, not just the command line.
Add a probe job that runs git --version and fails the pipeline if the output is below the patched release for your line. Make it a policy check, not a log line, or it will be ignored.
Packagers work on their own clock, and older enterprise distributions may carry a maintenance series rather than the current one. The important part is that your build matches the patched release for that series — 2.55.1, 2.54.1, 2.53.1, 2.52.1, 2.51.3 or 2.50.2 — or the distro's own backported equivalent.
Two things, mostly. First, whether the coordinated releases for GitHub Desktop and the GitHub Copilot app land with a version note you can pin in deployment docs, and whether runner and Codespaces images report the patched build. Second, the pattern rather than the patch: security releases keep arriving in the plumbing that crosses network and filesystem, and packagers keep shipping their own point updates on their own schedule, like the two stable kernel releases 7.3.2 and 6.18.61 that landed on Friday for upgrade.
So here is the question I would leave a platform team with: if a Git copy you never type commands into got hit tonight, how long would it take you to enumerate every place the binary exists — and could your inventory answer before someone clones a repository on a laptop that has already shipped it?
--allow-unsafe-featurescore.symlinks mitigationprotocol.file.allow default change