CVE-2025-62222CWE-20CWE-77command-injection

CVE-2025-62222

High · published November 11, 2025

CVSS v3.1
8.8
EPSS
1%
Percentile
56.2
In the wild
Unconfirmed
What it is

⚡ A sneaky command injection flaw in Visual Studio Code's CoPilot Chat Extension could let an unauthorized attacker execute code over the network — that’s like handing over the keys to your digital workshop! 🔥 Think of this vulnerability like a restaurant with an open kitchen. If diners can shout any order they want without checks, they might just ask for something outrageous — or even dangerous — that the kitchen will prepare without question. An attacker could exploit this to run arbitrary commands on the server, potentially gaining full control over the application. This could lead to unauthorized access to sensitive information, and even disruptions in service. The implications are absolutely devastating!

Put simply

Think of this vulnerability like a restaurant with an open kitchen. If diners can shout any order they want without checks, they might just ask for something outrageous — or even dangerous — that the kitchen will prepare without question. This command injection vulnerability allows attackers to inject and execute arbitrary commands through improper handling of input within the CoPilot Chat Extension, making it a critical risk for anyone using this tool.

What to do

An attacker could exploit this to run arbitrary commands on the server, potentially gaining full control over the application. This could lead to unauthorized access to sensitive information, and even disruptions in service. The implications are absolutely devastating! Update the Visual Studio Code CoPilot Chat Extension to the latest version immediately to patch this flaw. Additionally, review and sanitize user inputs to prevent command injection exploits. Regularly monitor your network for any unauthorized activities as a precautionary measure. You've got this! Follow these steps and secure your setup in no time. 🛡️

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00803 · 56.2th percentile
Weaknesses
CWE-20 · Improper Input Validation; CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')
Published
2025-11-11T23:15Z
Affected products (1)
ProductVersionsFixed in
microsoft/github_copilot_chat< 0.32.50.32.5
References (1)
EPSS history
Timeline
  • 11 NOV 17:59Z
    Agentic AI and Visual Studio Code Remote Code Execution Vulnerability
    cvelistv5