GitHub Copilot and Visual Studio Remote Code Execution Vulnerability (CVE-2025-53773)
GitHub Copilot and Visual Studio contain a command injection flaw that lets an unauthorised attacker execute code locally, but only if the user triggers the payload in the application. The advisory gives no technical detail about the vulnerable component or the injection point.
Originally disclosed on Microsoft
Description
Improper neutralization of special elements used in a command ('command injection') in GitHub Copilot and Visual Studio allows an unauthorized attacker to execute code locally.
FAQ
According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do? Exploitation of this vulnerability requires that a user trigger the payload in the application.
FAQ
According to the CVSS metric, the attack vector is local (AV:L). Why does the CVE title indicate that this is a remote code execution? The word Remote in the title refers to the location of the attacker. This type of exploit is sometimes referred to as Arbitrary Code Execution (ACE). The attack itself is carried out locally. This means an attacker or victim needs to execute code from the local machine to exploit the vulnerability.
GitHub Copilot and Visual Studio
GitHub Copilot and 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 the application passes user-influenced input into a command without neutralising special characters, allowing extra commands to run.
Impact
An attacker could execute code locally on the victim's machine, but only after the user triggers the payload in the application.
What the attacker needed
User triggers the payload in the app; local access to the machine
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.
Command injection means a program takes input and passes it to the operating system as a command without cleaning it first, so an attacker can sneak in extra commands. Here the attacker needs the victim to do something in the application to trigger the payload, and the code then runs on the victim's own machine rather than on a server.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.