AIINEWS

AIINEWS

Global intelligence on artificial intelligence and computing

Git fixes flaw that lets malicious repositories run code during recursive clones

AIINEWS Editorial Board•security
16 November, 2026•2 min read
Git fixes flaw that lets malicious repositories run code during recursive clones

Executive Briefing

“The Git project has released fixes for a flaw that could run an attacker’s code on a...”

Key Takeaways

  • 1.CVE-2026-111760 involves integer truncation in Git’s handling of its index. The report says a machine recursively cloning a malicious repository and its submodules could run attacker-controlled code.
  • 2.An extremely long path can pass Git’s safety check but be written to disk under a shorter name that the attacker can set to .git. In a newly cloned submodule, .git is a file, which the attacker can replace with a symbolic link to malicious configuration or hooks.
  • 3.Hooks are programs Git runs at defined points. If Git uses the folder reached through the symbolic link, a malicious hook can run the attacker’s code.
  • 4.The Git project fixed the flaw in 2.56.1 and in versions 2.50.2, 2.51.3, 2.52.1, 2.53.1, 2.54.1 and 2.55.1. The fixes reject excessively long paths before their length can be truncated.
  • 5.GitHub recommends installing a fixed Git version through an operating system or distributor and updating applications that bundle Git. Until then, it advises against recursively cloning untrusted repositories, while stressing that this precaution does not replace the fix.

The Git project has released fixes for a flaw that could run an attacker’s code on a machine cloning a malicious repository along with its submodules. The attack exploits how Git handles an excessively long path.

Key Developments and Technical Context

CVE-2026-111760 involves integer truncation in Git’s handling of its index. The report says a machine recursively cloning a malicious repository and its submodules could run attacker-controlled code.

An extremely long path can pass Git’s safety check but be written to disk under a shorter name that the attacker can set to .git. In a newly cloned submodule, .git is a file, which the attacker can replace with a symbolic link to malicious configuration or hooks.

Hooks are programs Git runs at defined points. If Git uses the folder reached through the symbolic link, a malicious hook can run the attacker’s code.

The Git project fixed the flaw in 2.56.1 and in versions 2.50.2, 2.51.3, 2.52.1, 2.53.1, 2.54.1 and 2.55.1. The fixes reject excessively long paths before their length can be truncated.

GitHub recommends installing a fixed Git version through an operating system or distributor and updating applications that bundle Git. Until then, it advises against recursively cloning untrusted repositories, while stressing that this precaution does not replace the fix.

Strategic Analysis and Industry Implications

The risk is not limited to the source files being downloaded. During a recursive clone, Git’s creation and use of a submodule’s .git data can give an untrusted repository a path to code execution.

Avoiding untrusted repositories can reduce immediate exposure, but applications that bundle their own Git still need updates even after the operating system’s Git has been patched.

Outlook and Key Factors to Watch

The supplied excerpts do not say whether the flaw has been exploited in the wild.

Content and editorial synthesis copyright by AIINEWS Editorial Board
Share this intelligence report:
Expanded Perspectives & Intelligence

Related Dispatches & Deep Dives

Curated 8 specialized reports
Anti-Oligarchy Activists Plan to Dox Elon Musk and Hundreds of Billionaire-Linked Homes

Anti-Oligarchy Activists Plan to Dox Elon Musk and Hundreds of Billionaire-Linked Homes

An underground activist group says it plans to start openly doxing billionaires as part of a phased campaign against what it calls the American oligarchy—beginning this month with a release that maps the homes of Elon Musk, his brother Kimbal, and Tesla’s board, alongside investors and suppliers that keep the corporation afloat. Two of its members, interviewed by WIRED on the condition of anonymity, say they spent the past year constructing dossiers on billionaires—and one trillionaire—and the people they consider their top lieutenants, using nearly every method available to a private investigator, and some that are not. The pair say the group is international and includes grassroots activists, researchers, journalists, and artists, including some who received top honors in print, television, and digital media in their former careers.

7 min read9,141
Nvidia security team faces questions following CEO departure
Business2 days ago

Nvidia security team faces questions following CEO departure

Nvidia's security division faces scrutiny over what it knew regarding former CEO Jensen Huang's personal relationships and federal investigations into a Singapore-based partner firm. The development highlights the immense challenges major technology corporations encounter in mitigating espionage risks and managing insider threats.

2 min read6,742
Novee’s External Surface Testing checks which exposed assets attackers can actually exploit

Novee’s External Surface Testing checks which exposed assets attackers can actually exploit

### Novee’s External Surface Testing checks which exposed assets attackers can actually exploit Artificial intelligence penetration testing startup Novee Cyber Security Ltd. today added External Surface Testing to its platform so its AI-driven attacks can reach a customer’s entire internet-facing footprint. External Surface Testing is aimed at the scramble after a critical vulnerability is disclosed, when security teams have to work out which exposed assets are affected and whether any can actually be exploited.

3 min read6,303

Explore AIINEWS Intelligence Vault

Over 2,000 in-depth dispatches structured across 18 specialized tech & AI categories.

Browse all 18 categories
Git fixes flaw that lets malicious repositories run code during... | AIINEWS