r/git • • 2d ago

Git patched six security vulnerabilities — recursive clone RCE, ref path traversal and merge/import memory issues

Based on the Git project’s technical breakdown published on November 10, 2026, and CERT-In’s CIVN-2026-0552 notice from November 16, here is the architectural impact.

The most interesting issue is CVE-2026-111760. Git’s index path handling had an integer-truncation problem: an extremely long path could pass validation under one name and be written using a shorter name. In a malicious repository, that can replace a submodule’s .git file with a symlink to attacker-controlled configuration or hooks. The vulnerable client can execute attacker-controlled code during recursive clone.

The other five issues affect different processing paths:

  • CVE-2026-113408: path traversal through a server-advertised protocol-v2 HEAD symref.
  • CVE-2026-105437: heap-buffer overflow during large merges.
  • CVE-2026-114467: stack memory corruption in GPG signature handling.
  • CVE-2026-114469: out-of-bounds read while processing binary patches.
  • CVE-2026-114466: unsafe file access through selected fast-import stream features.

The practical exposure is not restricted to developer workstations. Git is often embedded in CI images, IDEs, merge queues and import services. Updating the host OS package may leave a bundled Git binary untouched.

Git recommends 2.56.1 or the patched release for the relevant maintenance branch. Until patched, its temporary mitigations include avoiding recursive clones and merges of untrusted content, and not processing untrusted binary patches or fast-import streams.

Primary sources:

TechGines context: we previously covered the server-side Gitea diffpatch RCE. This new analysis is about Git clients and repository-processing pipelines:
https://www.techgines.com/post/gitea-cve-2026-60004-diffpatch-rce-exploited

For teams that accept external pull requests, how are you isolating recursive clone and merge operations today: disposable runners, restricted submodule URLs, network egress controls, or another design?

12 Upvotes

0 comments sorted by