CVE-2025-62222
published high CVSS 3.1 · 8.8Agentic AI and Visual Studio Code Remote Code Execution Vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Microsoft | — | Microsoft Visual Studio Code CoPilot Chat Extension0.27.0 to < 0.32.5 | Affected | Not stated | microsoft |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- microsoft · cna
- Vector string
- 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
- Scenarios
- en-US: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Microsoft | Microsoft Visual Studio Code CoPilot Chat Extension | 0.27.0 to < 0.32.5 (affected · custom) | microsoft · cna |
Weaknesses
2- CWE-77 CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
- CWE-20 CWE-20: Improper Input Validation
References
1- Agentic AI and Visual Studio Code Remote Code Execution Vulnerability https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-62222
Provider assertions
2microsoft · cna
Agentic AI and Visual Studio Code Remote Code Execution Vulnerability
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a77648f6e8bd1ddc96486080e2c9aa15fe48e167d7a90bf9e839ee0382badeb7
- Ingested
- 23 Sep 2026, 08:55:27 UTC
- Source record
- Official CVE record