Skip to content
OpenAdvisories
High MSRC-CVE-2026-21256 1 CVE

GitHub Copilot and Visual Studio Remote Code Execution Vulnerability

Published Feb 10, 2026 · Updated Mar 13, 2026 · Revision 3

Summary

Impact: Remote Code Execution. Microsoft rating: Important. Not known to be exploited — Exploitation Less Likely. Customer action: Required.

Details

How could an attacker exploit this vulnerability?
The AV:N rating indicates the vulnerability is exploitable over the network, meaning an attacker can deliver a malicious prompt remotely without prior access, while UI:R means a user must interact with Copilot for exploitation to occur. Due to prompt injection, the system is coerced into executing attacker-controlled instructions, which can escalate into remote code execution (RCE) when the compromised prompt causes backend components or integrated tools to run unintended commands.

Security updates
17.14.26 — https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-notes
18.3.0 — https://learn.microsoft.com/en-us/visualstudio/releases/2026/release-notes

Vulnerabilities 1

Revision history

  1. #3

    Changes made to the security updates links and information. This is an informational change only.

  2. #2

    Changes made to the security updates links and information. This is an informational change only.

  3. #1

    Information published.

References