CVE-2026-45497 Microsoft M365 Copilot Remote Code Execution Vulnerability
An authorized attacker can execute arbitrary code remotely via command injection in Microsoft 365 Copilot.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-45497?
CVE-2026-45497 is a high-severity command injection vulnerability in Microsoft 365 Copilot, published on 4 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Improper neutralization of special elements used in a command ('command injection') in Microsoft Copilot allows an authorized attacker to execute code over a network.
Weakness: CWE-77
Which versions are affected by CVE-2026-45497?
It affects 1 product.
Products include Microsoft Copilot.
How do I fix CVE-2026-45497?
No fix has been published for CVE-2026-45497 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2026-45497 being exploited?
There is no known exploitation of CVE-2026-45497 in the wild and no public exploit code.
Other vulnerabilities in Microsoft 365 Copilot
- CVE-2026-24301 Microsoft Copilot Information Disclosure Vulnerability
- CVE-2026-42824 M365 Copilot Information Disclosure Vulnerability
- CVE-2026-26136 Microsoft Copilot Information Disclosure Vulnerability
- CVE-2026-55145 Outlook Copilot Tampering Vulnerability
- CVE-2026-55946 Microsoft Copilot Information Disclosure Vulnerability
Sources
Also known as GHSA-96wf-4fpw-9pw8.