CVE-2026-111760

8.0High

Published 16 Nov 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

8.0CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
High
Privileges
Low
User action
Required
Impact
Full C/I/A compromise
Weakness
CWE-59

What an attacker gets

Attackers can execute arbitrary code on your system when you clone a malicious repository. This requires a user to run 'git clone --recurse-submodules' on an untrusted repository.

Root cause

Git fails to properly validate submodule gitfiles, allowing them to be overwritten by symbolic links that point to attacker-controlled configurations or hooks.

Affected versions

Git versions prior to 2.50.2, 2.51.3, 2.52.1, 2.53.1, 2.54.1, 2.55.1, and 2.56.1.

CVSS v3.1 · CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H

Fix & remediation

Upgrade Git to the latest patched version (2.50.2, 2.51.3, 2.52.1, 2.53.1, 2.54.1, 2.55.1, or 2.56.1 depending on your branch). Until patched, do not use '--recurse-submodules' when cloning repositories from untrusted sources.

remediation — bash
$ git --version && sudo apt-get update && sudo apt-get install --only-upgrade git

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-111760