Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious prompt with command injection
-
DeliveryUser adds prompt to CoPilot Chat
-
ExploitExtension parses input without sanitization
-
ExecutionInjected command executes in local context
-
ImpactInformation disclosure via command output
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | The CVSS 5.7 score (AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N) indicates a moderate-severity vulnerability requiring network access, low attack complexity, authenticated privileges, and user interaction. The confidentiality impact is high (C:H) but integrity and availability are unaffected. The authenticated requirement (PR:L) and mandatory user interaction (UI:R) significantly reduce real-world risk compared to the base score suggests. No EPSS score or public proof-of-concept is referenced in the available data, and KEV (CISA Known Exploited Vulnerabilities) status is not indicated, meaning no public exploit identified at time of analysis. The vulnerability is limited to information disclosure without code execution or system compromise capabilities, making it a lower operational priority than command injection flaws allowing code execution. Organizations should still prioritize patching as targeted social engineering could exploit the UI:R requirement by crafting convincing prompts. |
| Exploit ScenarioDerived | An attacker with a valid GitHub Copilot account crafts a specially-formatted prompt or code snippet containing command injection payloads and tricks a developer into pasting or clicking it in the CoPilot Chat interface. The extension fails to sanitize the input, executing the injected command and exfiltrating sensitive information (environment variables, source code snippets, API keys) back to the attacker through command output or network side-channels. No automated exploitation path exists; social engineering is required to trigger user interaction. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 14, 2026
Command injection in GitHub Copilot Chat Extension for Visual Studio Code allows authenticated attackers with user interaction to disclose sensitive information over a network. The vulnerability affects CoPilot Chat Extension versions before 0.37.3 and requires an authorized user to interact with a crafted prompt or input. Microsoft has released a patched version (0.37.3) to remediate this CWE-77 command injection flaw.
RemediationAI
Vendor-released patch: Microsoft Visual Studio Code CoPilot Chat Extension version 0.37.3 or later. Users should upgrade immediately through the Visual Studio Code Extensions marketplace or via the built-in extension update mechanism. For organizations unable to immediately upgrade, restrict use of the CoPilot Chat Extension until patching is complete, or disable the extension pending update deployment. Refer to https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-23653 for verification of patch installation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in microsoft, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in the GitHub Copilot Chat Extension (CPE: cpe:2.3:a:microsoft:microsoft_visual_studio_code_copilot_chat_extension), a plugin for Visual Studio Code that enables AI-assisted code generation. CWE-77 represents improper neutralization of special elements in commands, meaning the extension fails to properly sanitize or escape user-supplied input before passing it to command execution contexts. This allows an attacker to inject arbitrary commands that the extension will interpret as part of the legitimate command structure, potentially leading to information disclosure through command output redirection or execution of unintended system commands.
Know when Microsoft Visual Studio Code Copilot Chat Extension gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionNVD
Improper neutralization of special elements used in a command ('command injection') in GitHub Copilot and Visual Studio Code allows an authorized attacker to disclose information over a network.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
EUVD-2026-22359
GHSA-ghqv-73vw-x3j9
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB