CVE-2026-21518: Microsoft Visual Studio Code · Command Injection
Affects Microsoft Visual Studio CodeSource CVE Database V5
Not known to be exploited · CVSS 8.8 High : upgrade to 1.110.1 soon.
Data as of 26 Oct 2026, 08:30 UTC
- EPSS
- 1.4% chance of exploitation in 30 days – higher than 73% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.37.1, 1.110.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:CExploitation evidence
Disclosed: evidence found.
CVE published 10 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade Visual Studio Code to 1.110.1; Microsoft Visual Studio Code CoPilot Chat Extension to 0.37.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| MicrosoftMicrosoft Visual Studio Code CoPilot Chat Extension | Affected
| Fixed in
|
| MicrosoftVisual Studio Code | Affected
| Fixed in
|
AI-suggested
An official fix is available from Microsoft. Users of Microsoft Visual Studio Code CoPilot Chat Extension version 0.27.0 should apply the vendor-provided update immediately to remediate this vulnerability. Refer to the Microsoft Security Response Center advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-21518 for the official patch and detailed remediation instructions.
Description
Improper neutralization of special elements used in a command ('command injection') in GitHub Copilot and Visual Studio Code allows an unauthorized attacker to bypass a security feature over a network.