Gitの再帰的クローンに脆弱性、悪意あるリポジトリで任意のコードを実行される恐れ
Summary
Gitの git clone --recurse-submodules を使うと、攻撃者が用意したリポジトリにより、クローンした利用者の環境でコードを実行される恐れがあります。影響を受けるのは2.50.2、2.51.3、2.52.1、2.53.1、2.54.1、2.55.1、2.56.1より前の版で、これらの版で修正されています。信頼できない提供元のリポジトリはクローンしないようにしてください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Gitの git clone --recurse-submodules を使うと、攻撃者が用意したリポジトリにより、クローンした利用者の環境でコードを実行される恐れがあります。影響を受けるのは2.50.2、2.51.3、2.52.1、2.53.1、2.54.1、2.55.1、2.56.1より前の版で、これらの版で修正されています。信頼できない提供元のリポジトリはクローンしないようにしてください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| gitgit | — | Not listed |
| Bitnamigit |
< 2.50.2→ 2.50.2 ≥ 2.51.0, < 2.51.3→ 2.51.3 ≥ 2.52.0, < 2.52.1→ 2.52.1 ≥ 2.53.0, < 2.53.1→ 2.53.1 ≥ 2.54.0, < 2.54.1→ 2.54.1 ≥ 2.55.0, < 2.55.1→ 2.55.1 ≥ 2.56.0, < 2.56.1→ 2.56.1 |
2.50.2 2.51.3 2.52.1 2.53.1 2.54.1 2.55.1 2.56.1 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Alpine Linux ALPINE-CVE-2026-111760 git Fix available
- BellSoft Alpaquita BELL-CVE-2026-111760 git Fix available
- Debian DEBIAN-CVE-2026-111760 git No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-111760 git Fix available
Original description The description as published by the source.
Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. Prior to 2.50.2, 2.51.3, 2.52.1, 2.53.1, 2.54.1, 2.55.1, and 2.56.1, an attacker-controlled repository hosted by the attacker rather than on a normal forge site can exploit git clone --recurse-submodules by causing Git to overwrite a submodule gitfile with a symbolic link. The symbolic link can point to a directory containing attacker-controlled Git configuration or hooks, allowing those hooks or configuration to execute code on the cloning user's system. The issue requires the recursive-submodule option, and users should avoid cloning repositories from untrusted sources. This issue is fixed in versions 2.50.2, 2.51.3, 2.52.1, 2.53.1, 2.54.1, 2.55.1, and 2.56.1.
Source: The Hacker News NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- REDHAT Red Hat
- THE-HACKER-NEWS Git Patches Flaw That Lets Malicious Repositories Execute Code During Recursive Clones
- web gitlab.com
- web gitlab.com
- web gitlab.com
- web gitlab.com
- web gitlab.com
- web gitlab.com
- web gitlab.com