# Git fixes six vulnerabilities, including code execution during recursive clones

DevFeed: [Git fixes six vulnerabilities, including code execution during recursive clones](<https://devfeed.tech/articles/git-fixes-six-vulnerabilities-including-code-execution-during-recursive-clones-129110.md>)

Original publisher: [Read original article](<https://www.helpnetsecurity.com/2026/11/11/git-project-security-updates/>)

Author: Anamarija Pogorelec

Published: 2026-11-11T14:26:12Z

Content type: news

Language: en

Sources: [Help Net Security](<https://devfeed.tech/sources/help-net-security.md>)

Topics: [code security](<https://devfeed.tech/topics/code-security.md>), [Memory Safety](<https://devfeed.tech/topics/memory-safety.md>), [Submodules](<https://devfeed.tech/topics/submodules.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [clone](<https://devfeed.tech/tags/clone.md>), [code-execution](<https://devfeed.tech/tags/code-execution.md>), [corruption](<https://devfeed.tech/tags/corruption.md>), [cve](<https://devfeed.tech/tags/cve.md>), [cybersecurity](<https://devfeed.tech/tags/cybersecurity.md>), [git](<https://devfeed.tech/tags/git.md>), [github](<https://devfeed.tech/tags/github.md>), [memory-corruption](<https://devfeed.tech/tags/memory-corruption.md>), [news](<https://devfeed.tech/tags/news.md>), [security](<https://devfeed.tech/tags/security.md>), [security-update](<https://devfeed.tech/tags/security-update.md>), [security-updates](<https://devfeed.tech/tags/security-updates.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>)

## AI overview

Git's fixes address six flaws that could enable code execution, unintended file access or writes, memory corruption, and crashes when processing malicious repositories or input. The most severe described issue, CVE-2026-111760, lets an overly long index path bypass safety checks and replace a submodule's .git file, potentially running attacker-controlled hooks during recursive cloning; Git now rejects paths before truncation. Other fixes validate protocol v2 reference targets, prevent signature-count overflow and decoded binary patches exceeding size limits, guard merge-size calculations, and restrict unsafe git fast-import features from untrusted streams. Updates are available in Git 2.56.1 and listed backports; GitHub Enterprise Server administrators are directed to specific patched releases. Update Git, including bundled copies and automation or services handling others' repositories. Until then, the excerpt advises avoiding recursive clones and processing untrusted merges, tags, patches, or fast-import streams; these precautions do not replace updating.

## Source excerpt

The Git project has released security updates addressing six vulnerabilities that could allow attackers to execute code, write to unintended files or cause memory corruption when Git processes malicious repositories or other specially prepared input. Code execution during cloning A vulnerability tracked as CVE-2026-111760 stems from an integer truncation in Git's handling of its index. An extremely long file path can pass Git's safety checks under one name and then be written under a shorter ... More -> The post Git fixes six vulnerabilities, including code execution during recursive clones appeared first on Help Net Security.