Story

In the news · 1 source · first seen 15d ago · The Hacker News
Git Patches Flaw That Lets Malicious Repositories Execute Code During Recursive Clones

A flaw in Git can let a malicious repository run an attacker's code on a computer that clones it recursively, together with its submodules. The Git project fixed it this week in Git 2.56.1, with matching fixes for the 2.50 through 2.55 series in 2.50.2, 2.51.3, 2.52.1, 2.53.1, 2.54.1 and 2.55.1. The

Briefing

Written from the coverage below · deepseek-v4.1-flash

Git patched CVE-2026-111760, an integer truncation in index handling that lets a malicious repository execute attacker code on machines that clone it recursively with submodules. Fixes shipped in Git 2.56.1 plus 2.50.2, 2.51.3, 2.52.1, 2.53.1, 2.54.1 and 2.55.1.

Why it mattersDevelopers routinely clone third-party repositories with submodules, so a single untrusted clone can yield code execution on build and developer machines.

ActionUpgrade Git to 2.56.1 (or 2.55.1/2.54.1/2.53.1/2.52.1/2.51.3/2.50.2 for older series) before recursive cloning untrusted repositories.

Coverage

1 article