Skip to main content
CVE-2026-21518VulnerabilityPublished Updated

CVE-2026-21518: Microsoft Visual Studio Code · Command Injection

Affects Microsoft Visual Studio CodeSource CVE Database V5

0

Not known to be exploited · CVSS 8.8 High : upgrade to 1.110.1 soon.

Data as of 26 Oct 2026, 08:30 UTC

CVSS 3.1 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.
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:C

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
MicrosoftMicrosoft Visual Studio Code CoPilot Chat ExtensionAffected
  • >=0.27.0 <0.37.1
Fixed in
  • 0.37.1
MicrosoftVisual Studio CodeAffected
  • >=1.0.0 <1.110.1
Fixed in
  • 1.110.1

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.

References

Community reviews

Loading reviews…