Skip to content
High 8.0

Gitの再帰的クローンに脆弱性、悪意あるリポジトリで任意のコードを実行される恐れ

CVE-2026-111760 First seen on SecPulse

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

PackageAffected → Fixed
gitgit —
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

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

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

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details