CVE-2025-62222

Agentic AI and Visual Studio Code Remote Code Execution Vulnerability

State
Published
Severity
8.8 High
Published
Nov 11, 2025
Updated
Feb 26, 2026
Reserved
Oct 8, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:Cmicrosoft

Weaknesses

  • CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')
  • CWE-20 Improper Input Validation

Affected Products

ProductVersions
Microsoft Visual Studio Code CoPilot Chat ExtensionMicrosoft
  • 0.27.0 to before 0.32.5Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.