Skip to main content

Microsoft Visual Studio Code Copilot Chat Extension CVE-2026-23653

| EUVDEUVD-2026-22359 MEDIUM
Command Injection (CWE-77)
2026-04-14 microsoft GHSA-ghqv-73vw-x3j9
6.5
CVSS 3.1 · NVD
Temporal: 5.0
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious prompt with command injection
  2. Delivery
    User adds prompt to CoPilot Chat
  3. Exploit
    Extension parses input without sanitization
  4. Execution
    Injected command executes in local context
  5. Impact
    Information 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Microsoft Visual Studio Code CoPilot Chat Extension 0.27.0 <0.37.3

Affected Packages

microsoft visual_studio_code_copilot_chat_extension_0_37_3 fix: Microsoft Visual Studio Code CoPilot Chat Extension 0.37.3
euvd microsoft_visual_studio_code_copilot_chat_extension fix: 0.37.3

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

NVD PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
ENISA EUVD HIGH
CIRCL (temporal) 5.0 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

3
CVSS changed
Oct 26, 2026 - 21:23 NVD
5.7 (MEDIUM) 6.5 (MEDIUM)
Patch released
Apr 14, 2026 - 17:46 nvd
Patch available
CVE Published
Apr 14, 2026 - 16:56 nvd
MEDIUM 5.7

DescriptionNVD

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

EPSS Score
0.1%
Top 71% exploitable
Threat Intel
1
1 source
Vendor Action
See Below
Required. The vulnerability documented by this CVE requires customer action to resolve.
Vendor Status
Publicly Disclosed:No
Exploited:No
Latest Software Release:Exploitation Less Likely
Data Quality
7 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: +5

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy