Security Resilience

CVE-2025-62222

RCE in Microsoft Github Copilot Chat ≤ 0.32.5

Published
11 November 2025
Modified
18 October 2026
Patch / advisory
CVSS Score v3.1 8.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS Score 0.0080 57th percentile
Risk Priority 65 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-62222 is a high-severity Improper Input Validation (CWE-20) vulnerability in Microsoft Github Copilot Chat. Its CVSS base score is 8.8 (High).

Operationally, ranked in the top 43% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

This vulnerability is AI-related — categorised as Enterprise AI Assistants; in the LLM/Generative AI Risks risk domain.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2025-62222 is a command injection vulnerability stemming from improper neutralization of special elements used in a command, classified under CWE-20 and CWE-77. It affects the Visual Studio Code CoPilot Chat Extension, enabling an unauthorized attacker to execute arbitrary code over a network. The vulnerability received a CVSS v3.1 base score of 8.8 (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H), indicating high severity due to its potential for significant impact on confidentiality, integrity, and availability.

An attacker can exploit this vulnerability remotely with low complexity and no required privileges, but it necessitates user interaction, such as clicking a malicious link or engaging with crafted content in the extension's chat interface. Successful exploitation allows the attacker to execute arbitrary commands on the victim's machine, potentially leading to full system compromise, data theft, or further lateral movement within the environment.

For mitigation details, including patches and workarounds, refer to the official advisory from Microsoft Security Response Center at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-62222. The vulnerability was published on 2025-11-11T18:15:49.887.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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.

CWE(s)

AI Security AnalysisAI

AI Category
Enterprise AI Assistants
Risk Domain
LLM/Generative AI Risks
OWASP Top 10 for LLMs 2025
None mapped
Classification Reason
Matched keywords: copilot

Related Threats

CVEs Like This One

CVE-2025-21350Same vendor: Microsoft
CVE-2025-24062Same vendor: Microsoft
CVE-2026-45642Same vendor: Microsoft
CVE-2023-28301Same vendor: Microsoft
CVE-2025-30391Same vendor: Microsoft
CVE-2025-24073Same vendor: Microsoft
CVE-2023-36888Same vendor: Microsoft
CVE-2024-38216Same vendor: Microsoft
CVE-2023-28302Same vendor: Microsoft
CVE-2023-36899Same vendor: Microsoft

Affected Assets

microsoft
github copilot chat
≤ 0.32.5

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and evaluation can discover missing input validation through analysis or test cases.

SI-10 directly requires validity checks on information inputs, structurally preventing improper or missing validation.

Requiring documented development standards and tools can embed input-validation practices into the engineering process.

Secure engineering principles include proper neutralization and safe command construction practices.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Testing against a defined set of requirements and using code review plus vulnerability scanning forces validation of inputs and handling of unanticipated conditions, reducing the chance that malformed data will be accepted.

prevents

Requiring language-specific secure coding standards, peer review, SAST and documented mitigation of common programming errors forces validation of all inputs before they are trusted.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-20, a class-level weakness, and none of its children carries one either.
  • No fine-grained STIG row for CWE-77, a class-level weakness, and none of its children carries one either.

References