CVE-2024-30052 Visual Studio Remote Code Execution Vulnerability
Attackers can execute arbitrary code on systems running Microsoft Visual Studio, requiring users to apply vendor patches.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-30052?
CVE-2024-30052 is a medium-severity code injection vulnerability in Microsoft Visual Studio 2019, published on 11 Jun 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Visual Studio Remote Code Execution Vulnerability
Weakness: CWE-693
Which versions are affected by CVE-2024-30052?
It affects 2 products.
Products include Microsoft Visual Studio 2019, Microsoft Visual Studio 2022.
How do I fix CVE-2024-30052?
No fix has been published for CVE-2024-30052 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2024-30052 being exploited?
There is no known exploitation of CVE-2024-30052 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Microsoft Visual Studio 2019
- CVE-2021-27068 Visual Studio Remote Code Execution Vulnerability
- CVE-2025-32702 Visual Studio Remote Code Execution Vulnerability
- CVE-2023-28262 Visual Studio Elevation of Privilege Vulnerability
- CVE-2025-25003 Visual Studio Elevation of Privilege Vulnerability
- CVE-2020-0789 Denial of service in Microsoft Visual Studio 2019
Sources
Also known as GHSA-7wvq-94hq-j88h.