8

CVE-2026-111760

Git: Recursive clones are susceptible to Remote Code Execution

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.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
Herstellergit
≫
Produkt git
Version < 2.50.2
Status affected
Version >= 2.51.0, < 2.51.3
Status affected
Version >= 2.52.0, < 2.52.1
Status affected
Version >= 2.53.0, < 2.53.1
Status affected
Version >= 2.54.0, < 2.54.1
Status affected
Version >= 2.55.0, < 2.55.1
Status affected
Version >= 2.56.0, < 2.56.1
Status affected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.71% 0.542
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
security-advisories@github.com 8 1.3 6
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
CWE-59 Improper Link Resolution Before File Access ('Link Following')

The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.

https://github.com/git/git/security/advisories/GHSA-vp2w-7xxj-jvxr
https://github.com/git/git/commit/29411cf59fd417d8fce1be40ab2911e3e0885f26
https://gitlab.com/git-scm/git/-/blob/v2.50.2/Documentation/RelNotes/2.50.2.adoc
https://gitlab.com/git-scm/git/-/blob/v2.51.3/Documentation/RelNotes/2.51.3.adoc
https://gitlab.com/git-scm/git/-/blob/v2.52.1/Documentation/RelNotes/2.52.1.adoc
https://gitlab.com/git-scm/git/-/blob/v2.53.1/Documentation/RelNotes/2.53.1.adoc
https://gitlab.com/git-scm/git/-/blob/v2.54.1/Documentation/RelNotes/2.54.1.adoc
https://gitlab.com/git-scm/git/-/blob/v2.55.1/Documentation/RelNotes/2.55.1.adoc
https://gitlab.com/git-scm/git/-/blob/v2.56.1/Documentation/RelNotes/2.56.1.adoc