Brand logo
HomeHardwarePolicy & RegulationSoftwareCommunicationsConsumer ElectronicsGeneralAbout Us
  1. Home
  2. /
  3. software
  4. /
  5. git-security-update-fixes-six-vulnerabilities

Git 2.56.1 Patches six Security Flaws: A Practical Update Checklist for Teams

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.

Why this batch deserves an interrupt

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 precedent worth carrying into this week

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.

Which build should you be running?

Your line todayInstallWhat you get
2.56.x (current feature line)Git 2.56.1All six fixes plus the extra overflow checks around index allocations
2.55.x2.55.1Backport for the previous minor series
2.54.x2.54.1Backport for the previous minor series
2.53.x2.53.1Backport for the previous minor series
2.52.x2.52.1Backport for the previous minor series
2.51.x2.51.3Third point release on that line
2.50.x2.50.2Oldest series the project chose to backport in this batch
Older than 2.50.xMove to a supported lineNo 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.

What each of the six flaws asks of you

Below, "trigger" is the practical question to ask about your own pipelines. Terms are expanded inline because these bugs hide in plumbing.

  • CVE-2026-111760 — recursive clone. A "submodule" is a repository nested inside another one; a recursive clone fetches them automatically. An integer truncation in index handling lets an over-long path pass validation under one name and then be written under a shorter one, so an attacker can swap a submodule's .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?
  • CVE-2026-113408 — path traversal via an advertised HEAD. Under protocol v2, a server can advertise a symref (a pointer that says "HEAD means this branch") aimed at a branch that has no commits yet. If the name contains .. 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?
  • CVE-2026-114467 — stack corruption while stripping signatures. When removing GPG signatures (the cryptographic attachments that prove who made a tag), Git assumed a message would carry at most two of them. A crafted tag with more than two, merged, corrupts memory and can crash the process. Ask: does your service merge or verify tags that users upload?
  • CVE-2026-114469 — out-of-bounds read in binary patches. Git rejects patches larger than about 1 GiB, but that check measured the patch as supplied; a small compressed, encoded binary patch can expand past the ceiling and read out of bounds. Ask: do you apply patches pulled from issue trackers, mailing lists or third-party bots?
  • CVE-2026-105437 — heap corruption in big merges. Git estimates merge output size before writing it; with many conflicts plus a large 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?
  • CVE-2026-114466 — filesystem access through import streams. 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.

Step by step: patching every Git copy

Work down the list rather than only doing step 1 — the missed copies are the interesting ones.

  1. Find the copy you are actually running. On Windows use 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.
  2. Check the version. git --version should report Git 2.56.1, or the patched point release for the line you are staying on.
  3. Windows. Either 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.
  4. macOS. If Homebrew installed Git, run 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.
  5. Linux. 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.
  6. GUI clients and assistants. Update GitHub Desktop and the GitHub Copilot app through their own check-for-updates flow; the patched builds are being coordinated upstream, so a stale client can still carry the vulnerable engine.
  7. Containers and CI images. Rebuild the images that contain Git, then re-run a version probe inside the container. A patched host does not patch an image pinned to FROM some/base:tag.
  8. Automation and services. Any merge bot, importer, backup script or hosting component that invokes Git on behalf of other people should be treated as a first-class target for this upgrade.

Can't patch in the next 24 hours? Narrow the surface

These are exposure reductions, not fixes, and the release notes say the same.

  • Clone only from servers you trust, and skip recursion on anything else: leave --recurse-submodules off and pull submodules deliberately after inspection.
  • Do not merge untrusted branches or tags, including automated "merge this PR" flows that pass third-party content to Git.
  • Do not apply binary patches or feed fast-import streams from untrusted sources until you are patched.
  • On Windows and macOS, weigh 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.
  • Log the exception with an owner and a date. An undocumented "temporary" workaround is how a 2022-class problem survives into 2027.

What might break after the upgrade

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.

If your work runs on GitHub

Server-side is largely handled, client-side is not:

  • Patches are deployed across github.com, GitHub Enterprise Cloud and GitHub Enterprise Cloud with data residency, so hosted repositories do not need you to do anything for those platforms.
  • Self-managed GitHub Enterprise Server does need you: versions 3.19.15, 3.20.11, 3.21.9 and 3.22.4 carry the fixes, and administrators should upgrade as soon as possible.
  • GitHub Desktop and the GitHub Copilot app releases bundling patched Git are being coordinated, so watch for the version note rather than assuming your auto-update already landed.
  • GitHub Codespaces and GitHub Actions receive patched Git versions; teams with long-lived images or self-hosted runners should re-provision and confirm the reported version.

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.

Five mistakes I keep seeing after a Git security release

  • Patching the terminal only. The IDE, the GUI client and the Docker image keep the old binary.
  • Trusting a version string from a cached shell. Without hash -r, you can verify the wrong path and believe you are fixed.
  • Assuming hosting equals safety. Hosted platforms being patched does not patch the runner, the mirror or the developer laptop that merges locally.
  • Turning on --allow-unsafe-features as a workaround. That restores the exact capability the fix removed.
  • Reading the backport list as a licence to stay old. 2.50.2 is the floor of this batch, not a permanent home.

Questions readers are searching tonight

Do I have to re-clone my repositories?

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.

Is Linux affected, or only Windows and macOS?

This announcement lists no platform restriction, unlike the 2024 case whose clone bug depended on case-insensitive filesystems. Patch Linux servers and containers too.

I only use a GUI — am I exposed?

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.

How do I prove the CI image is clean?

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.

Will my distro ship 2.56.1 quickly?

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.

What to watch next

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?

Sources

  • GitHub Blog — Git security vulnerabilities announced (11 November 2026)
  • git-scm.com — git-fast-import manual, --allow-unsafe-features
  • NVD — CVE-2024-32002, recursive clone RCE and the core.symlinks mitigation
  • Safeguard — Git security in 2026: CVE trends by class and a hardening baseline
  • Microsoft Learn — Install and set up Git, per-platform update guidance
  • Open Source China — Git 2.38.1 and the protocol.file.allow default change
Brand logo

Tech Daily

Your Daily Source for Consumer Tech, Policy & Communications

HardwarePolicy & RegulationSoftwareCommunicationsConsumer ElectronicsGeneralAPAC EdmGrowthAbout Us

© 2026 Tech Daily.

Cookie Notice

We use cookies to improve your experience and analyze website traffic. Read our Privacy Policy to learn more.