Visual Studio Remote Code Execution Vulnerability (CVE-2026-114151)
Visual Studio deserialises untrusted data, so an attacker who sends a crafted file can run code on the victim's machine when the file is opened. The attack works over the network but needs the user to open the file.
41ae55e9310ff27fa6f26af4727e5590 Follow
Originally disclosed on Microsoft
Description
Deserialization of untrusted data in Visual Studio allows an unauthorized attacker to execute code over a network.
FAQ
According to the CVSS metric, the attack vector is network (AV:N) and user interaction is required (UI:R). What is the target context of the remote code execution? This attack requires a user to open a specially crafted file from the attacker to initiate remote code execution.
Visual Studio
Visual Studio
Microsoft
Microsoft
Customer Action Required
Yes
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely, Visual Studio deserialises data from a file without sufficiently validating it, allowing attacker-controlled content to be turned into executable objects.
Impact
An attacker could execute code on the victim's machine, but only if the victim opens a specially crafted file.
What the attacker needed
Victim opens a crafted file
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Deserialisation is when a program turns saved data back into objects. If it trusts that data without checking it, an attacker can hide harmful instructions inside a file. Here, opening a malicious file in Visual Studio could let the attacker run their own code on your computer.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.