Skip to content
CVE-2026-50691

M365 Copilot Improper Authorization Privilege Elevation (CVE-2026-50691)

Privilege Escalation Discovery Collection Last updated:

Detects potential exploitation of CVE-2026-50691, an improper authorization vulnerability (CWE-285) in Microsoft 365 Copilot that allows an authenticated attacker to elevate privileges over a network (CVSS 9.9). Exploitation manifests as a lower-privileged principal invoking Copilot to access, summarize, or act on resources (SharePoint/OneDrive files, Graph data, Exchange content) beyond their authorized scope. Detection focuses on anomalous Copilot/Graph access patterns in Microsoft 365 audit logs: Copilot interactions resolving to resources the invoking user has no prior access relationship with, cross-tenant or cross-user resource enumeration via Copilot, and privilege-sensitive Graph calls initiated through the Copilot service principal on behalf of non-privileged users. As exploit status is theoretical with no public PoC, the logic is behavior-driven and intended for tuning against your Copilot baseline.

Vulnerability Intelligence

Theoretical

Weakness (CWE)

Timeline

Disclosed
November 23, 2026

CVSS

9.9
Critical (9.0–10)

What is CVE-2026-50691 M365 Copilot Improper Authorization Privilege Elevation (CVE-2026-50691)?

M365 Copilot Improper Authorization Privilege Elevation (CVE-2026-50691) (CVE-2026-50691) maps to the Privilege Escalation and Discovery and Collection tactics — the adversary is trying to gain higher-level permissions in MITRE ATT&CK.

This page provides production-ready detection logic for M365 Copilot Improper Authorization Privilege Elevation (CVE-2026-50691), covering the data sources and telemetry it touches: Microsoft 365 Unified Audit Log, Microsoft Defender for Cloud Apps, CloudAppEvents. The queries below are rated high severity at medium confidence, and ship for 7 SIEM platforms — KQL, SPL, Elastic, QRadar, Sumo, YARA-L, LogScale.

MITRE ATT&CK

Tactic
Privilege Escalation Discovery Collection
Microsoft Sentinel / Defender
kusto
// df00tech DF00-f49be162c5 · https://df00tech.com/detections/CVE-2026-50691 · licence: https://df00tech.com/detections/licence
// Anomalous M365 Copilot resource access potentially indicative of CVE-2026-50691 improper authorization
// Correlates Copilot interactions with Graph/SharePoint access to resources outside the invoking user's normal scope
let lookback = 14d;
let detectWindow = 1d;
// Baseline: resources each user has historically interacted with
let baseline = CloudAppEvents
    | where Timestamp between (ago(lookback) .. ago(detectWindow))
    | where Application has_any ("Microsoft 365 Copilot", "Copilot", "Office 365")
    | extend AccountId = tostring(RawEventData.UserId)
    | extend Resource = tostring(RawEventData.ObjectId)
    | where isnotempty(AccountId) and isnotempty(Resource)
    | summarize by AccountId, Resource;
CloudAppEvents
| where Timestamp > ago(detectWindow)
| where Application has "Copilot" or ActionType has_any ("CopilotInteraction", "AISummarize", "FileAccessedByCopilot")
| extend AccountId = tostring(RawEventData.UserId)
| extend Resource = tostring(RawEventData.ObjectId)
| extend ResourceOwner = tostring(RawEventData.OwnerId)
| extend ClientIP = tostring(RawEventData.ClientIP)
| where isnotempty(AccountId) and isnotempty(Resource)
| join kind=leftanti baseline on AccountId, Resource
| where tostring(ResourceOwner) != AccountId
| summarize NewResources = dcount(Resource), Resources = make_set(Resource, 50), ActionTypes = make_set(ActionType), IPs = make_set(ClientIP) by AccountId, bin(Timestamp, 1h)
| where NewResources >= 10
| project Timestamp, AccountId, NewResources, Resources, ActionTypes, IPs
| order by NewResources desc

Flags M365 Copilot interactions where a user accesses an unusually high number of resources (>=10/hour) that they have no baseline access relationship with and do not own, consistent with improper-authorization privilege elevation via Copilot.

high severity medium confidence

Data Sources

Microsoft 365 Unified Audit Log Microsoft Defender for Cloud Apps CloudAppEvents

Required Tables

CloudAppEvents

False Positives

  • Legitimate Copilot usage by newly onboarded users or role changes granting broad access
  • Executive assistants or delegates with legitimate access to many principals' content
  • Compliance, eDiscovery, or security staff performing authorized broad content review via Copilot
  • Baseline window too short, causing normal first-time resource access to appear anomalous

Query fingerprint DF00-f49be162c5 · licence

Sigma logsource & community rules

The detection logic for M365 Copilot Improper Authorization Privilege Elevation (CVE-2026-50691) (CVE-2026-50691) above is provided in a vendor-neutral form so you can deploy it on any SIEM. The same logic is shipped here as native KQL (Microsoft Sentinel / Defender), SPL (Splunk), Elastic (Elastic Security (EQL)), QRadar (IBM QRadar (AQL)), Sumo (Sumo Logic CSE), YARA-L (Google Chronicle / SecOps), LogScale (CrowdStrike LogScale (CQL)) queries. In Sigma terms, this detection targets the following logsource:

logsource:
  product: azure

Browse the community-maintained Sigma rules for this technique:


Testing Methodology

Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are further down this page.

  1. Test 1 Simulate Copilot cross-user resource access via Graph

    Expected signal: Multiple O365 audit events with FileAccessed/FileAccessedByCopilot operations where UserId differs from OwnerId within one hour.

  2. Test 2 Bulk Copilot summarization of non-owned SharePoint documents

    Expected signal: O365 audit CopilotInteraction/AISummarize events referencing multiple distinct ObjectIds not owned by the invoking user.

  3. Test 3 Rapid distinct-resource enumeration through Copilot interaction

    Expected signal: 20 distinct CopilotInteraction audit events within one hour with varying ObjectId/OwnerId values.


Response Playbook

Triage

  1. Confirm the flagged UserId and enumerate the distinct non-owned resources (ObjectId/SharePoint path/mailbox) the account accessed via Copilot in the detection window.
  2. Determine the user's actual authorized scope: review their directory roles, group memberships, and explicit resource permissions in Entra ID/SharePoint, and compare against the accessed resources.
  3. Check whether the resources are sensitive (executive mailboxes, HR/finance SharePoint sites, admin content) and whether access was read, summarized, or acted upon.
  4. Correlate the ClientIP, device, and session for the Copilot interactions to establish whether the session is consistent with the legitimate user or shows signs of compromise (impossible travel, new device, risky sign-in).

Containment

  1. If unauthorized access is confirmed, revoke the user's active sessions (Entra ID 'revoke sessions') and disable the account pending investigation.
  2. Restrict or temporarily disable M365 Copilot access for the implicated user/group via the Copilot admin controls while Microsoft's fix is validated.
  3. Apply conditional access / least-privilege remediation to tighten permissions on the exposed sensitive resources.

Evidence Collection

  1. Export the full Unified Audit Log records for the user's Copilot and file-access operations, including RawEventData, ObjectId, OwnerId, ClientIP, and timestamps.
  2. Capture Entra ID sign-in and risk logs and the Copilot interaction transcripts/prompts if available via audit, preserving them with chain-of-custody.
  3. Snapshot current permissions on the affected resources and the user's role assignments before applying remediation, to document the authorization gap.

Escalation Criteria

  • ! Escalate to incident response if the accessed resources contain regulated or highly sensitive data, or if access extended across multiple users' private content.
  • ! Escalate to Microsoft/MSRC and apply emergency controls if the pattern confirms authorization bypass consistent with CVE-2026-50691 rather than legitimate delegated access.
  • ! Escalate to legal/compliance if cross-tenant data access or a reportable data breach is indicated.

Investigation Guide

Forensic Artifacts

  • > Microsoft 365 Unified Audit Log records with Workload=Copilot, ObjectId, OwnerId, and ClientIP
  • > Entra ID sign-in and risk detection logs for the implicated session
  • > Copilot interaction/prompt audit records and SharePoint/OneDrive FileAccessed events for the non-owned resources

Tuning Guidance

Build a per-user baseline lookup of resources normally accessed and exclude known broad-access roles (admins, compliance, eDiscovery, executive delegates) via an allowlist. Adjust the new_resources threshold to your tenant size and Copilot adoption. Because OwnerId may be empty for some resource types, verify field population before relying on the UserId!=OwnerId condition, and consider scoping to sensitive site collections and mailboxes to raise precision. As this CVE is theoretical with no PoC, treat alerts as leads for authorization review rather than confirmed exploitation.


Hunting Queries

Hunts over 30 days for users who accessed an outsized number of non-owned resources via Copilot, surfacing slow-and-low improper-authorization abuse that a 1-hour rule would miss.

Hunting — KQL
kql
// df00tech DF00-f49be162c5 · https://df00tech.com/detections/CVE-2026-50691 · licence: https://df00tech.com/detections/licence
CloudAppEvents | where Timestamp > ago(30d) | where Application has "Copilot" | extend AccountId = tostring(RawEventData.UserId), Resource = tostring(RawEventData.ObjectId), Owner = tostring(RawEventData.OwnerId) | where isnotempty(Owner) and Owner != AccountId | summarize NonOwnedAccessed = dcount(Resource) by AccountId | where NonOwnedAccessed > 25 | order by NonOwnedAccessed desc
Hunting — SPL
spl
``` df00tech DF00-f49be162c5 · https://df00tech.com/detections/CVE-2026-50691 · licence: https://df00tech.com/detections/licence ```
index=o365 sourcetype=o365:management:activity Workload=Copilot earliest=-30d | eval resource=ObjectId | where UserId!=OwnerId | stats dc(resource) as non_owned by UserId | where non_owned>25 | sort - non_owned

Atomic Red Team Tests

Test 1 Simulate Copilot cross-user resource access via Graph
windows

Uses a low-privileged test account to request, via Microsoft Graph/Copilot APIs, content owned by a different user to generate Copilot audit telemetry for detection validation (lab tenant only).

Command

powershell
powershell -Command "Connect-MgGraph -Scopes 'Files.Read.All'; 1..15 | ForEach-Object { try { Invoke-MgGraphRequest -Method GET -Uri \"https://graph.microsoft.com/v1.0/users/[email protected]/drive/root/children\" } catch { Write-Host $_.Exception.Message } }"

Cleanup

powershell
powershell -Command "Disconnect-MgGraph"

Expected Telemetry

Multiple O365 audit events with FileAccessed/FileAccessedByCopilot operations where UserId differs from OwnerId within one hour.

Expected Detection

The KQL/SPL rule fires when the test account accesses >=10 distinct non-owned resources within the window.

Test 2 Bulk Copilot summarization of non-owned SharePoint documents
linux

Drives repeated Copilot summarize actions against SharePoint documents owned by other users to emulate improper-authorization data harvesting (lab tenant only).

Command

bash
for i in $(seq 1 15); do curl -s -X POST "https://graph.microsoft.com/v1.0/copilot/summarize" -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" -d "{\"resourceId\":\"site-doc-$i\"}"; done

Cleanup

bash
unset TOKEN

Expected Telemetry

O365 audit CopilotInteraction/AISummarize events referencing multiple distinct ObjectIds not owned by the invoking user.

Expected Detection

The detection groups the user's non-owned resource access and alerts once the distinct-resource threshold is exceeded.

Test 3 Rapid distinct-resource enumeration through Copilot interaction
macos

Issues a burst of distinct Copilot interactions referencing resources across multiple owners to validate the rate/distinct-count threshold logic (lab tenant only).

Command

bash
for i in $(seq 1 20); do curl -s -X POST "https://graph.microsoft.com/v1.0/copilot/interactions" -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" -d "{\"prompt\":\"summarize file owner-$i\",\"objectId\":\"obj-$i\"}"; done

Cleanup

bash
unset TOKEN

Expected Telemetry

20 distinct CopilotInteraction audit events within one hour with varying ObjectId/OwnerId values.

Expected Detection

The rule alerts because distinct non-owned resources (>=10) are accessed within the correlation window.

Related Detections

Browse by tactic

Full ATT&CK matrix Search all detections