Microsoft Visual Studio Code CoPilot Chat Extension
Agentic AI and Visual Studio Code Remote Code Execution Vulnerability
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.
First public PoC
15 daysafter publication · 26 Nov 2025
Public PoCs11 on GitHub
CVSS8.8high · scored by CNA · CWE-77
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Microsoft Microsoft Visual Studio Code CoPilot Chat Extension
- >= 0.27.0, < 0.32.5
Fixed in 0.32.5
Mitigation
Upgrade Microsoft Visual Studio Code CoPilot Chat Extension to 0.32.5 or later.
References
- Vendor advisory msrc.microsoft.com/update-guide/vulnerability/CVE-2025…
Timeline
Days relative to CVE publicationFirst public PoC 15 days after publication; not in CISA KEV. First PoC: SadisticNight/PoC-CVE-2025-62222 (created 26 Nov 2025, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| SadisticNight/PoC-CVE-2025-62222 | 26 Nov 2025 +15 d | 1 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.