4 Dec 2026Security news updated around the clock

Git fixes flaw that executes code during recursive clones

HighSource: The Hacker News

A vulnerability in Git allows malicious repositories to execute arbitrary code when cloned recursively with submodules. The issue arises from an integer truncation in Git's index handling. This flaw is tracked as CVE-2026-111760. Git has released patches for this vulnerability in version 2.56.1, as well as matching fixes for earlier versions, including 2.50.2, 2.51.3, 2.52.1, 2.53.1, 2.54.1, and 2.55.1. The vulnerability can be exploited when a user clones a malicious repository that includes submodule hooks, allowing the malicious code to be executed on the user's computer. Affected: Git versions prior to 2.56.1, including the 2.50 through 2.55 series. What to do:

  • Update Git to version 2.56.1 or later to patch the vulnerability.
  • Apply the matching fixes for earlier versions, if updating to 2.56.1 is not possible.
  • Be cautious when cloning repositories from untrusted sources, and consider using alternative methods to verify the integrity of the repository.

Read the full article on The Hacker News

CVEs in the original article

A Cyberpedia entry on Remote Code Execution (RCE) is planned. This story will link to it once it is published.

This brief was written with AI from the original article and checked for copied wording. Confirm details with The Hacker News before acting. Spotted an error, or are you the publisher and want this brief removed? Email us and we will act on it promptly.