---
id: CVE-2026-42827
title: >-
  Improper neutralization of special elements used in a command ('command
  injection') in M365 Copilot allows an unauthorized attacker to disclose
  information over a network.
summary: >-
  Improper neutralization of special elements used in a command ('command
  injection') in M365 Copilot allows an unauthorized attacker to disclose
  information over a network.
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N'
cwe:
  - CWE-77
vendor: microsoft
product: 365_copilot
affected:
  - 365_copilot
published: '2026-05-22'
updated: '2026-07-23'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-42827'
references:
  - url: 'https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-42827'
    label: secure@microsoft.com
tags:
  - nvd
epss: 0.00503
epssPercentile: 0.42071
ingestedAt: '2026-07-23T11:17:34.759Z'
---

## Overview

Improper neutralization of special elements used in a command ('command injection') in M365 Copilot allows an unauthorized attacker to disclose information over a network.

## Affected

- `365_copilot`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
