Cybersecurity news

Jessica Doner

Back to the list

Git Patches Flaw That Lets Malicious Repositories Execute Code During Recursive Clones

The Hacker News,

A flaw in Git allowed malicious repositories to execute code during recursive clones, which the project fixed in recent releases.

Vulnerabilities and patches

Overview

A security flaw in the Git software allowed a malicious repositoryA central storage place where a software project's source code, change history, and configuration files are kept to execute code on a computer when a user cloned it recursively with its submodules. The issue, tracked as CVEThe public tracking code assigned to a specific known security flaw in software or hardware-2026-111760, involved an integer truncation that let an extremely long path bypass safety checks and write to a shorter name set by an attacker. This enabled the replacement of a submodule's .git file with a symbolic linkA special file system pointer that redirects any program opening it to another file or folder path to a folder containing malicious hooks, which are programs Git runs at set points. The Git project fixed the problem in version 2.56.1 and released matching fixes for versions 2.50 through 2.55. GitHub, which uses Git in its tools, applied the fixes to its cloud services and is updating its desktop and Copilot apps. Until a fixed version is installed, users are advised to clone only from trusted serversA computer or program on a network that stores data and responds to requests from client devices and avoid recursively cloning untrusted repositories.

Terms in this story

repository
A central storage place where a software project's source code, change history, and configuration files are kept. Software teams collaborate by pushing code to a shared repository, and attackers scan public repositories for accidentally committed API keys or try to poison popular projects.
CVE
The public tracking code assigned to a specific known security flaw in software or hardware. Every cataloged software flaw gets a unique CVE label so security teams, vendors, and news reports can talk about the exact same bug without confusion. Security+ objective 2.3 lists the term
symbolic link
A special file system pointer that redirects any program opening it to another file or folder path. Attackers exploit symbolic link bugs by replacing a temporary file a privileged program is about to write to with a pointer to a sensitive system file.
Server
A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
Patches
A software update released by a developer to fix a bug or close a security flaw. When a software flaw is discovered, the vendor ships a patch so administrators and ordinary users can update their systems before attackers exploit the bug. Security+ objective 4.3 lists the term
configuration
A text file that stores settings, network addresses, and options for how a program or server runs. Attackers who gain read access to a server look for its configuration file first because it often contains database passwords, API keys, and internal server paths.
operating system
The core software on a computer or phone that manages hardware, files, memory, and running apps. Because every application relies on the operating system, a security flaw in the operating system itself affects millions of devices until users install a system update.
Hacker
A person who explores and manipulates computer systems, either as a criminal intruder or a security researcher. In news headlines, the word hacker usually means an unauthorized intruder, though the security community also uses it for researchers who find and fix flaws.
binary
Base 2, where each byte is written as 8 ones and zeros. In security news, the word binary refers either to raw data made of ones and zeros or to a compiled executable program that runs directly on a computer's processor. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
protocol
An agreed set of rules and message formats that computers follow to exchange data over a network. Every internet service relies on a network protocol such as HTTP for web pages or DNS for domain lookups, and a logic flaw in a protocol's design affects every vendor that implements it.
path traversal
A flaw where an attacker uses folder navigation symbols in a file request to read restricted files. If a web server lets users download a picture by name without checking the folder path, an attacker can use path traversal to climb into system folders and read configuration files. Security+ objective 2.4 lists the term
signatures
A known byte pattern or hash that antivirus tools match against files, or a cryptographic proof of origin. In security news, a signature means either a pattern that scanners use to recognize known malware or a cryptographic signature that proves a software update was not altered.

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the The Hacker News website. Cite the article, not this page.

Read the full article on The Hacker News (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Same story at other outlets

Related