CVE-2019-1352 Code injection in Microsoft Visual Studio 2017

High 8.8 Published Updated

Attackers can execute arbitrary code via improper input sanitization in Git for Visual Studio, affecting developers using this tool.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2019-1352?

CVE-2019-1352 is a high-severity code injection vulnerability in Microsoft Visual Studio 2017, published on 24 Jan 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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-1349, CVE-2019-1350, CVE-2019-1354, CVE-2019-1387.

Weakness: CWE-20

Which versions are affected by CVE-2019-1352?

It affects 2 products.

Products include Microsoft Visual Studio 2017, Microsoft Visual Studio 2019.

How do I fix CVE-2019-1352?

Apply the vendor's patch.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2019-1352 being exploited?

There is no known exploitation of CVE-2019-1352 in the wild and no public exploit code.

All Microsoft Visual Studio 2017 vulnerabilities

Sources

Also known as ALPINE-CVE-2019-1352, CLEANSTART-2025-CH00091, DEBIAN-CVE-2019-1352, GHSA-74fq-3g57-65f7, UBUNTU-CVE-2019-1352.

Is CVE-2019-1352 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free