Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › News › Web

Advisory Critical CVE Analysis

CERT-In Flags Critical Git Flaws; Several CVEs Affect Merge, Clone and Patch Code

According to CERT-In, multiple Git vulnerabilities could allow code execution and file access, and its advisory rates the issue Critical. Several related CVEs in NVD describe merge, submodule-clone and patch-handling flaws, with fixed releases named for some of them.

WebVulnerabilities

Key points

  • CERT-In rates its Git advisory CIVN-2026-0552 as Critical and lists affected 2.54.x, 2.55.x and 2.56.x builds.
  • CVE-2026-105437 is a heap overflow in merge handling that can be triggered through repository attributes.
  • CVE-2026-111760 can lead to code execution when cloning with recursive submodules from untrusted sources.
  • Fixed releases are named for several CVEs, but not every CVE has a stated fix in the sources.

Overview

According to CERT-In, several flaws in Git could let an attacker run arbitrary code, traverse paths, damage memory, disrupt service and reach files without authorization. Its advisory CIVN-2026-0552 rates the problem Critical. The listed affected builds include Git 2.56.x before 2.56.1, Git 2.55.x before 2.55.1 and Git 2.54.x before 2.54.1. The list continues past these, and the remaining entries are not shown in the material available here.

Notable CVEs

  • CVE-2026-105437 is a heap buffer overflow in the xdiff three-way merge code. The merged-output size is tracked in a 32-bit signed integer, which can wrap, so Git writes past the end of a buffer that is too small. A conflict-marker-size attribute, which can come from a committed .gitattributes file, affects this. NVD says any textual three-way merge can reach it, including git-merge, git-rebase, git-cherry-pick and git-merge-tree. On servers that read attributes from trees, users who can push branches and request merges may trigger it. The minimum effect is a crash, and heap corruption is possible.
  • CVE-2026-111760 concerns git clone with --recurse-submodules from a repository hosted by an attacker. According to NVD, a submodule gitfile can be replaced with a symbolic link, which may let attacker-controlled configuration or hooks run on the cloning user's system. It is fixed in 2.50.2, 2.51.3, 2.52.1, 2.53.1, 2.54.1, 2.55.1 and 2.56.1.
  • CVE-2026-113408 is a path traversal that allows arbitrary file writes when a user clones and commits to a malicious repository.
  • CVE-2026-114467 is an out-of-bounds write in git-merge when it handles a tag carrying more than two GPG signatures.
  • CVE-2026-114469 is an out-of-bounds read that can crash git-apply when a binary patch expands to a very large size.
  • CVE-2026-114466 covers reading or writing arbitrary data through git-fast-import and git-fast-export features not marked unsafe.

The sources do not state fixed versions for every CVE beyond those named above.

Response

For CVE-2026-105437, NVD says the patch computes sizes with overflow checks, so Git stops with an error instead of overflowing. Servers that cannot upgrade immediately may set conflict-marker-size=7 in each repository's info/attributes, which overrides in-tree .gitattributes, or disable server-side mergeability checks for untrusted repositories. Readers should consult the original CERT-In advisory CIVN-2026-0552 for the complete list of affected versions.

What to do

  1. Upgrade Git to the fixed releases named in the advisory and NVD entries, such as 2.56.1, 2.55.1 and 2.54.1.
  2. Avoid cloning repositories from untrusted sources, especially with --recurse-submodules.
  3. If an upgrade cannot happen right away, set conflict-marker-size=7 in each server repository's info/attributes file, per NVD.
  4. Consider turning off server-side mergeability checks for untrusted repositories until patched.

Our article, written with AI assistance from the facts of the original report and the official vulnerability data below. Read the original for full details.

Original report

CERT-Incert-in.org.in

“Remote Code Execution Vulnerability in Git (CIVN-2026-0552)”

CERT-In rates it Critical. Affected: Git 2.56.x versions prior to 2.56.1; Git 2.55.x versions prior to 2.55.1; Git 2.54.x versions prior to 2.54.1; …. Multiple vulnerabilities have been reported in Git, which could allow an attacker to execute arbitrary code, perform path traversal, corrupt memory, cause denial of service, and read or write arbitrary files on the targeted system.

Vulnerabilities mentioned