Skip to content

CVE-2026-21256 GitHub Copilot and Visual Studio Remote Code Execution Vulnerability

HighCVSS 8.8 EPSS 1.2%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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 over a network.

Upgrade path

4 packages: 4 fixed.

PackageAffectedFixed inStatus
Microsoft visual studio 2022 < 17.14.26; >= 17.14.0, < 17.14.26 17.14.26 Fixed
Microsoft Visual Studio 2022 version 17.14 >= 17.14.0, < 17.14.26 17.14.26 Fixed
Microsoft visual studio 2026 < 18.3.0 18.3.0 Fixed
Microsoft Visual Studio 2026 version 18.3 >= 18.3.0, < 18.3.0 18.3.0 Fixed

Affected products

ProductAffected versionsFixed in
Microsoft visual studio 2022 < 17.14.26 17.14.26
Microsoft visual studio 2026 < 18.3.0 18.3.0
Microsoft Visual Studio 2022 version 17.14 >= 17.14.0, < 17.14.26 17.14.26
Microsoft Visual Studio 2026 version 18.3 >= 18.3.0, < 18.3.0 18.3.0
Microsoft visual studio 2022 >= 17.14.0, < 17.14.26 17.14.26

References