CVE-2025-62222: Microsoft Visual Studio Code CoPilot Chat Extension · Command Injection
Affects Microsoft Visual Studio Code CoPilot Chat ExtensionSource CVE Database V5
Not known to be exploited · CVSS 8.8 High.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.8% chance of exploitation in 30 days – higher than 56% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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 11 Nov 2025
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 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Microsoft Microsoft Visual Studio Code CoPilot Chat Extension | Affected
| Fixed in– |
AI-suggested
To mitigate CVE-2025-62222, organizations should take the following specific actions: 1) Immediately disable the Microsoft Visual Studio Code CoPilot Chat Extension version 0.27.0 until a security patch is released by Microsoft. 2) Monitor official Microsoft channels and CVE databases for updates and apply patches promptly once available. 3) Restrict network access to development environments running Visual Studio Code, especially limiting exposure to untrusted networks and enforcing strict firewall rules. 4) Implement application whitelisting and endpoint detection and response (EDR) solutions to detect and block suspicious code execution attempts originating from the extension. 5) Educate developers and users about the risks of interacting with untrusted inputs or commands within the CoPilot Chat feature to reduce the likelihood of user interaction-based exploitation. 6) Conduct regular security audits and code reviews of development environments to identify any signs of compromise. 7) Consider using alternative extensions or tools that do not exhibit this vulnerability until the issue is resolved. These targeted steps go beyond generic advice by focusing on controlling exposure, user behavior, and monitoring specific to this extension and its attack vector.
Description
Improper neutralization of special elements used in a command ('command injection') in Visual Studio Code CoPilot Chat Extension allows an unauthorized attacker to execute code over a network.