p PatchFirst

CVE-2026-111760

CVE-2026-111760 · Git: Recursive clones are susceptible to Remote Code Execution

CVSS 8.0 · High · EPSS 0.7% · Public exploit · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • gitNo fix published
  • git Alpine 3.23Update to 2.52.1-r0
  • git Alpine 3.24Update to 2.54.1-r0
  • git Debian 12No fix published
  • and 9 more

Check the installed version:

apk list -I -o git
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="git"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • git

    Versions
    • < 2.50.2: Affected
    • >= 2.51.0, < 2.51.3: Affected
    • >= 2.52.0, < 2.52.1: Affected
    • >= 2.53.0, < 2.53.1: Affected
    • >= 2.54.0, < 2.54.1: Affected
    • >= 2.55.0, < 2.55.1: Affected
    All versions (7)
    • >= 2.56.0, < 2.56.1: Affected

    No fix published

  • git Alpine 3.23

    Affected ranges
    • ECOSYSTEM: < 2.52.1-r0

    Update to 2.52.1-r0

  • git Alpine 3.24

    Affected ranges
    • ECOSYSTEM: < 2.54.1-r0

    Update to 2.54.1-r0

  • git Debian 12

    Versions
    • 1:2.39.2+next.20230215-1
    • 1:2.39.2-1.1
    • 1:2.39.5-0+deb12u1
    • 1:2.39.5-0+deb12u2
    • 1:2.39.5-0+deb12u3
    • 1:2.40.0+next.20230313-1
    All versions (46)
    • 1:2.40.0+next.20230319-1
    • 1:2.40.0-1
    • 1:2.40.0-1+alpha.1
    • 1:2.40.1+next.20230424-1
    • 1:2.40.1+next.20230427-1
    • 1:2.40.1-1
    • 1:2.40.1-1+alpha.1
    • 1:2.42.0-1
    • 1:2.43.0+next.20231120-1
    • 1:2.43.0+next.20240104-1
    • 1:2.43.0-1
    • 1:2.43.0-1+alpha.2
    • 1:2.45.1+next.20240516-1
    • 1:2.45.1-1
    • 1:2.45.2+next.20240614-1
    • 1:2.45.2-1
    • 1:2.45.2-1+alpha.1
    • 1:2.45.2-1.1
    • 1:2.45.2-1.1+alpha.1
    • 1:2.45.2-1.2
    • 1:2.45.2-1.3
    • 1:2.47.1-1
    • 1:2.47.2-0.1
    • 1:2.47.2-0.2
    • 1:2.48.0~rc1+next.20250101-1
    • 1:2.49.0+next.20250314-1
    • 1:2.49.0-1
    • 1:2.49.0-2
    • 1:2.49.0-3
    • 1:2.50.0+next.20250615-1
    • 1:2.50.0-1
    • 1:2.50.0~rc0+next.20250528-1
    • 1:2.50.1-0.1
    • 1:2.51.0+next.20250825-1
    • 1:2.51.0-1
    • 1:2.53.0+next.20260227-1
    • 1:2.53.0-1
    • 1:2.53.0-1+hurd.1
    • 1:2.55.0+next.20260731-1
    • 1:2.55.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • git Debian 13

    Versions
    • 1:2.47.2-0.2
    • 1:2.47.3-0+deb13u1
    • 1:2.48.0~rc1+next.20250101-1
    • 1:2.49.0+next.20250314-1
    • 1:2.49.0-1
    • 1:2.49.0-2
    All versions (18)
    • 1:2.49.0-3
    • 1:2.50.0+next.20250615-1
    • 1:2.50.0-1
    • 1:2.50.0~rc0+next.20250528-1
    • 1:2.50.1-0.1
    • 1:2.51.0+next.20250825-1
    • 1:2.51.0-1
    • 1:2.53.0+next.20260227-1
    • 1:2.53.0-1
    • 1:2.53.0-1+hurd.1
    • 1:2.55.0+next.20260731-1
    • 1:2.55.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • git Debian 14

    Versions
    • 1:2.47.2-0.2
    • 1:2.48.0~rc1+next.20250101-1
    • 1:2.49.0+next.20250314-1
    • 1:2.49.0-1
    • 1:2.49.0-2
    • 1:2.49.0-3
    All versions (17)
    • 1:2.50.0+next.20250615-1
    • 1:2.50.0-1
    • 1:2.50.0~rc0+next.20250528-1
    • 1:2.50.1-0.1
    • 1:2.51.0+next.20250825-1
    • 1:2.51.0-1
    • 1:2.53.0+next.20260227-1
    • 1:2.53.0-1
    • 1:2.53.0-1+hurd.1
    • 1:2.55.0+next.20260731-1
    • 1:2.55.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • git Ubuntu Pro 16.04 LTS

    Versions
    • 1:2.5.0-1
    • 1:2.6.2-1
    • 1:2.6.3-1
    • 1:2.6.4-1
    • 1:2.7.0~rc3-1
    • 1:2.7.0-1
    All versions (29)
    • 1:2.7.3-0ubuntu1
    • 1:2.7.4-0ubuntu1
    • 1:2.7.4-0ubuntu1.1
    • 1:2.7.4-0ubuntu1.2
    • 1:2.7.4-0ubuntu1.3
    • 1:2.7.4-0ubuntu1.4
    • 1:2.7.4-0ubuntu1.5
    • 1:2.7.4-0ubuntu1.6
    • 1:2.7.4-0ubuntu1.7
    • 1:2.7.4-0ubuntu1.8
    • 1:2.7.4-0ubuntu1.9
    • 1:2.7.4-0ubuntu1.10
    • 1:2.7.4-0ubuntu1.10+esm1
    • 1:2.7.4-0ubuntu1.10+esm3
    • 1:2.7.4-0ubuntu1.10+esm4
    • 1:2.7.4-0ubuntu1.10+esm5
    • 1:2.7.4-0ubuntu1.10+esm6
    • 1:2.7.4-0ubuntu1.10+esm7
    • 1:2.7.4-0ubuntu1.10+esm8
    • 1:2.7.4-0ubuntu1.10+esm9
    • 1:2.7.4-0ubuntu1.10+esm10
    • 1:2.7.4-0ubuntu1.10+esm11
    • 1:2.7.4-0ubuntu1.10+esm13
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • git Ubuntu Pro 18.04 LTS

    Versions
    • 1:2.14.1-1ubuntu4
    • 1:2.15.1-1ubuntu2
    • 1:2.17.0-1ubuntu1
    • 1:2.17.1-1ubuntu0.1
    • 1:2.17.1-1ubuntu0.3
    • 1:2.17.1-1ubuntu0.4
    All versions (26)
    • 1:2.17.1-1ubuntu0.5
    • 1:2.17.1-1ubuntu0.6
    • 1:2.17.1-1ubuntu0.7
    • 1:2.17.1-1ubuntu0.8
    • 1:2.17.1-1ubuntu0.9
    • 1:2.17.1-1ubuntu0.10
    • 1:2.17.1-1ubuntu0.11
    • 1:2.17.1-1ubuntu0.12
    • 1:2.17.1-1ubuntu0.13
    • 1:2.17.1-1ubuntu0.14
    • 1:2.17.1-1ubuntu0.15
    • 1:2.17.1-1ubuntu0.16
    • 1:2.17.1-1ubuntu0.17
    • 1:2.17.1-1ubuntu0.18
    • 1:2.17.1-1ubuntu0.18+esm1
    • 1:2.17.1-1ubuntu0.18+esm2
    • 1:2.17.1-1ubuntu0.18+esm3
    • 1:2.17.1-1ubuntu0.18+esm4
    • 1:2.17.1-1ubuntu0.18+esm6
    • 1:2.17.1-1ubuntu0.18+esm8
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • git Ubuntu Pro 20.04 LTS

    Versions
    • 1:2.20.1-2ubuntu1
    • 1:2.24.0-1ubuntu1
    • 1:2.24.0-1ubuntu2
    • 1:2.25.0-1ubuntu1
    • 1:2.25.1-1ubuntu1
    • 1:2.25.1-1ubuntu2
    All versions (26)
    • 1:2.25.1-1ubuntu3
    • 1:2.25.1-1ubuntu3.1
    • 1:2.25.1-1ubuntu3.2
    • 1:2.25.1-1ubuntu3.3
    • 1:2.25.1-1ubuntu3.4
    • 1:2.25.1-1ubuntu3.5
    • 1:2.25.1-1ubuntu3.6
    • 1:2.25.1-1ubuntu3.7
    • 1:2.25.1-1ubuntu3.8
    • 1:2.25.1-1ubuntu3.10
    • 1:2.25.1-1ubuntu3.11
    • 1:2.25.1-1ubuntu3.12
    • 1:2.25.1-1ubuntu3.13
    • 1:2.25.1-1ubuntu3.14
    • 1:2.25.1-1ubuntu3.14+esm1
    • 1:2.25.1-1ubuntu3.14+esm2
    • 1:2.25.1-1ubuntu3.14+esm3
    • 1:2.25.1-1ubuntu3.14+esm4
    • 1:2.25.1-1ubuntu3.14+esm5
    • 1:2.25.1-1ubuntu3.14+esm6
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • git Ubuntu 22.04 LTS

    Versions
    • 1:2.32.0-1ubuntu1
    • 1:2.33.1-1ubuntu1
    • 1:2.34.1-1ubuntu1
    • 1:2.34.1-1ubuntu1.1
    • 1:2.34.1-1ubuntu1.2
    • 1:2.34.1-1ubuntu1.4
    All versions (19)
    • 1:2.34.1-1ubuntu1.5
    • 1:2.34.1-1ubuntu1.6
    • 1:2.34.1-1ubuntu1.8
    • 1:2.34.1-1ubuntu1.9
    • 1:2.34.1-1ubuntu1.10
    • 1:2.34.1-1ubuntu1.11
    • 1:2.34.1-1ubuntu1.12
    • 1:2.34.1-1ubuntu1.13
    • 1:2.34.1-1ubuntu1.14
    • 1:2.34.1-1ubuntu1.15
    • 1:2.34.1-1ubuntu1.16
    • 1:2.34.1-1ubuntu1.17
    • 1:2.34.1-1ubuntu1.18
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • git Ubuntu 24.04 LTS

    Versions
    • 1:2.40.1-1ubuntu1
    • 1:2.43.0-1ubuntu1
    • 1:2.43.0-1ubuntu5
    • 1:2.43.0-1ubuntu6
    • 1:2.43.0-1ubuntu7
    • 1:2.43.0-1ubuntu7.1
    All versions (9)
    • 1:2.43.0-1ubuntu7.2
    • 1:2.43.0-1ubuntu7.3
    • 1:2.43.0-1ubuntu7.4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • git Ubuntu 26.10

    Versions
    • 1:2.53.0-1ubuntu1
    • 1:2.55.0-1ubuntu1
    • 1:2.55.0-1ubuntu1.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • git Ubuntu 26.04 LTS

    Versions
    • 1:2.51.0-1ubuntu1
    • 1:2.53.0-1ubuntu1
    • 1:2.53.0-1ubuntu1.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →