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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Microsoft | Microsoft Visual Studio Code CoPilot Chat Extension | 0.27.0 – < 0.32.5 | 0.32.5 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.
GitHub 1 repository
-
SadisticNight/PoC-CVE-2025-62222 ★ 1 · Nov 26, 2025
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 3
- WID-SEC-2025-2559 Microsoft Visual Studio Produkte: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 11, 2025
- NCSC-2025-0362 Kwetsbaarheden verholpen in Microsoft Visual Studio NCSC-NL (Netherlands) · Nov 11, 2025
- MSRC-CVE-2025-62222 Agentic AI and Visual Studio Code Remote Code Execution Vulnerability Microsoft Security Response Center · Nov 11, 2025
References
- Agentic AI and Visual Studio Code Remote Code Execution Vulnerability vendor-advisory patch