# Git RCE flaw tied to submodule recursion

Published: 2026-11-16 · Severity: routine
Canonical: https://vorant.io/reports/66e3ffe9-c8d3-5f46-abee-c1a0b6bd0921/git-rce-flaw-tied-to-submodule-recursion
Vorant's rating weighs the evidence in the report: confirmed exploitation, victims claimed, CVSS and EPSS, and how many sources agree. It rates the report, not your assets.

> A Git vulnerability allows remote code execution when the --recurse-submodules option is used, per CERT-FR advisory.

Source: cert.cyber.gouv.fr — https://www.cert.cyber.gouv.fr/avis/CERTFR-2026-AVI-1541

## What to check

- Applies to: The 1 CVE named below. Whether you run an affected version is not assessed: check the versions the source lists.
- Exploitation: No exploitation in the wild and no public exploit is recorded for the CVEs named.

CERT-FR has issued an advisory regarding a vulnerability in Git that could allow an attacker to achieve arbitrary remote code execution. According to the vendor, exploitation is only possible when the --recurse-submodules option is used, which narrows the attack surface but does not eliminate risk for users and automation pipelines that rely on this feature when cloning or updating repositories with submodules.

The vulnerability affects all versions of Git. No evidence of in-the-wild exploitation is mentioned in the advisory. Defenders should consult the official Git security advisory (GHSA-vp2w-7xxj-jvxr) and apply available patches promptly, particularly in environments where CI/CD pipelines, build scripts, or developer workflows use --recurse-submodules when cloning untrusted or third-party repositories.

Organizations should audit their use of Git submodule recursion in automated tooling and avoid using --recurse-submodules with untrusted repository sources until patches are applied. Monitoring for anomalous process execution following git clone or git submodule operations is advisable as a detection measure.

## Mentioned in this report

- Vulnerabilities: CVE-2026-111760

## Detection guidance (public sample)

### Git Spawning Scripting or Download Utilities

ATT&CK: T1203

A behavioural hunt for the technique in general, not a signature for the CVEs this report names. Needs windows process_creation logs. Status: experimental. Generated from the report; not run against telemetry.

git.exe spawning a shell, script host or download LOLBin, which can follow malicious submodule hooks or config abuse such as the --recurse-submodules RCE in GHSA-vp2w-7xxj-jvxr. Auto-generated starting point — validate and tune in your environment before deploying. IOC matches can false-positive on shared infrastructure and decay as adversary infrastructure rotates.

```yaml
title: Git Spawning Scripting or Download Utilities
description: Detects git.exe directly spawning PowerShell, cmd, script hosts or download
  LOLBins. Anomalous child processes after git clone or submodule operations were
  suggested as the detection measure for the Git --recurse-submodules RCE.
references:
- https://www.cert.cyber.gouv.fr/avis/CERTFR-2026-AVI-1541
tags:
- attack.execution
- attack.t1203
logsource:
  category: process_creation
  product: windows
detection:
  selection:
    ParentImage|endswith: \git.exe
    Image|endswith:
    - \powershell.exe
    - \pwsh.exe
    - \wscript.exe
    - \cscript.exe
    - \mshta.exe
    - \certutil.exe
    - \bitsadmin.exe
    - \regsvr32.exe
    - \rundll32.exe
  condition: selection
falsepositives:
- Developer repositories whose git hooks or aliases intentionally call PowerShell
- Build scripts that use git aliases to launch PowerShell helpers
level: medium
id: a1820f6d-51be-5245-af61-6afdaf82c92a
status: experimental
author: Vorant
```

### Git Recursive Submodule Clone or Update

ATT&CK: T1203

A behavioural hunt for the technique in general, not a signature for the CVEs this report names. Needs windows process_creation logs. Status: experimental. Generated from the report; not run against telemetry.

Hunting rule for git invoked with --recurse-submodules or --recursive, the precondition for the Git submodule RCE. Review the source repository and any child processes. Auto-generated starting point — validate and tune in your environment before deploying. IOC matches can false-positive on shared infrastructure and decay as adversary infrastructure rotates.

```yaml
title: Git Recursive Submodule Clone or Update
description: 'Detects git.exe run with --recurse-submodules or --recursive, the only
  exploitation precondition named in the advisory. Hunting rule: triage when the repository
  is untrusted or when it runs on CI/CD hosts and is followed by unexpected child
  processes.'
references:
- https://www.cert.cyber.gouv.fr/avis/CERTFR-2026-AVI-1541
tags:
- attack.execution
- attack.t1203
logsource:
  category: process_creation
  product: windows
detection:
  selection:
    Image|endswith: \git.exe
    CommandLine|contains:
    - --recurse-submodules
    - --recursive
  condition: selection
falsepositives:
- Normal developer and CI/CD clones of trusted repositories that use submodules
- Package or build tooling that clones dependencies recursively
level: low
id: 1092310d-46f1-5710-8451-d619177804f8
status: experimental
author: Vorant
```

### Git Spawning Network Tools or Reverse Shell Utilities on Linux

ATT&CK: T1203

A behavioural hunt for the technique in general, not a signature for the CVEs this report names. Needs linux process_creation logs. Status: experimental. Generated from the report; not run against telemetry.

git spawning curl, wget, netcat or socat on Linux, which can indicate code execution triggered by a malicious repository or submodule. Auto-generated starting point — validate and tune in your environment before deploying. IOC matches can false-positive on shared infrastructure and decay as adversary infrastructure rotates.

```yaml
title: Git Spawning Network Tools or Reverse Shell Utilities on Linux
description: Detects git directly spawning curl, wget, netcat variants or socat on
  Linux. Git does not normally launch these itself, so this may indicate code execution
  via a malicious submodule or hook, as in the Git --recurse-submodules RCE.
references:
- https://www.cert.cyber.gouv.fr/avis/CERTFR-2026-AVI-1541
tags:
- attack.execution
- attack.t1203
logsource:
  category: process_creation
  product: linux
detection:
  selection:
    ParentImage|endswith: /git
    Image|endswith:
    - /curl
    - /wget
    - /nc
    - /ncat
    - /netcat
    - /socat
  condition: selection
falsepositives:
- Git aliases or wrappers that deliberately call curl or wget
- Custom CI tooling invoking downloads through git exec-path helpers
level: medium
id: 127fe305-3f65-57e2-afaf-70434c5d77cc
status: experimental
author: Vorant
```

Behavioural rules are generated from public reporting — validate in your environment before deploying.

Source reporting: https://www.cert.cyber.gouv.fr/avis/CERTFR-2026-AVI-1541

---

This is the free public brief from Vorant Threat Intelligence. When citing, attribute "Vorant" and link https://vorant.io/reports/66e3ffe9-c8d3-5f46-abee-c1a0b6bd0921/git-rce-flaw-tied-to-submodule-recursion.
In the app the same report carries its Sigma rules (and on a paid plan the Splunk SPL already written, plus Elastic and Microsoft KQL where they apply) and live profiles of the CVEs it names. A free account in the app opens every report of the last 30 days, the security research and news included; the paid plans add the archive, what to hunt, the investigations and the rules as SIEM queries. Slack alerts on the vendors, sectors and countries a reader follows come with the paid plans too. A new account starts with a five-day trial, no card: https://vorant.io/signup
