All reports
Medium

git: Recursive submodule cloning allows using git directory twice with synonymous directory name written in .git/

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2019-1349

Probability of exploitation in the next 30 days: 36.03%

FIRST EPSS · 2026-11-20

Description

A remote code execution vulnerability exists when Git for Visual Studio improperly sanitizes input, aka 'Git for Visual Studio Remote Code Execution Vulnerability'. This CVE ID is unique from CVE-2019-1350, CVE-2019-1352, CVE-2019-1354, CVE-2019-1387.

An improper input validation flaw was discovered in git in the way it handles git submodules. A remote attacker could abuse this flaw to trick a victim user into recursively cloning a malicious repository, which, under certain circumstances, could fool git into using the same git directory twice and potentially cause remote code execution.