Microsoft 365 Copilot — Improper Authorization Enabling Cross-Tenant Data Access (CVE-2026-50691)
Published: 2026-11-25 • Researcher: cveForge (PoC publisher); Microsoft Security Response Center (vendor advisory)
- Severity
- Critical
- CVE
- CVE-2026-50691
- Category
- cloud
- Affected product
- Microsoft 365 Copilot (hosted SaaS; the chat completions endpoint on substrate.office.com)
- Affected versions
- Microsoft 365 Copilot hosted service. NVD records the product as microsoft/365_copilot with no version ranges. The upstream README states all tenants were affected and that Microsoft patched the service on 2026-11-18; verify with the MSRC update guide.
- Disclosed
- 2026-11-25
- Patch status
- Patched
Tags
References
Archive entry
intelseclab/poc-archiveOn this page
Metadata
| Field | Value |
|---|---|
| Date Added | 2026-11-25 |
| Last Updated | 2026-11-24 |
| Author / Researcher | cveForge (PoC publisher); Microsoft Security Response Center (vendor advisory) |
| CVE / Advisory | CVE-2026-50691 |
| Category | cloud |
| Severity | Critical |
| CVSS Score | 9.9 (NVD base score; vector not provided in the worklist — see references) |
| Status | PoC |
| Tags | Microsoft 365, Copilot, cloud, cross-tenant, improper-authorization, CWE-285, privilege-escalation, SharePoint, Teams, Exchange, authenticated, SaaS |
| Related | N/A |
Affected Target
| Field | Value |
|---|---|
| Software / System | Microsoft 365 Copilot (hosted SaaS; the chat completions endpoint on substrate.office.com) |
| Versions Affected | Microsoft 365 Copilot hosted service. NVD records the product as microsoft/365_copilot with no version ranges. The upstream README states all tenants were affected and that Microsoft patched the service on 2026-11-18; verify with the MSRC update guide. |
| Language / Platform | Cloud service (Microsoft 365); PoC written in Python 3 using only the standard library (argparse, json, urllib) |
| Authentication Required | Yes — any authenticated Microsoft 365 user in the attacker’s own tenant (a valid bearer token) |
| Network Access Required | Yes — remote HTTPS to the Microsoft 365 Copilot endpoint |
Summary
CVE-2026-50691 is a CVSS 9.9 improper authorization flaw in Microsoft 365 Copilot, classified as CWE-285. Per NVD, an authorized attacker can elevate privileges over a network; the upstream PoC describes it as an authenticated user in one tenant being able to reference resources belonging to a different tenant and have Copilot summarize them. If the upstream model holds, a low-privileged Microsoft 365 user could read confidential SharePoint documents, Teams chat history, and Exchange email metadata across organizational boundaries. Microsoft is reported to have patched the service on 2026-11-18. The archive did not verify any of this against a live tenant.
Vulnerability Details
Root Cause
NVD assigns CWE-285 (Improper Authorization) and states only that the flaw allows an authorized attacker to elevate privileges over a network. The upstream README attributes the defect to the Copilot reasoning engine trusting a caller-supplied tenant identifier inside the grounding context field without validating it against the tenant claim in the caller’s Microsoft Entra ID access token: the token audience was checked, but the resource tenant was not. Microsoft has not published the server-side mechanism, so that description is the upstream PoC author’s model rather than an independently confirmed root cause. The repository contains no server-side analysis or patch diff, and the archive did not decompile or observe the service.
Attack Vector
Network, authenticated, with low privileges. The attacker holds a valid bearer token for their own tenant and sends HTTPS POST requests to the Microsoft 365 Copilot chat completions endpoint. The JSON body carries a grounding context whose resources point at a victim tenant: a SharePoint document URL plus the victim tenant UUID in probe mode, or an operator-supplied victim tenant and resource URL in targeted mode. No victim interaction is required in the upstream model, and the request is indistinguishable from normal Copilot traffic apart from the mismatched tenant identifier.
Impact
Per the upstream README, successful exploitation lets the attacker receive Copilot-generated summaries or listings of another tenant’s SharePoint documents, Teams threads, and Exchange mailbox metadata. In NVD’s terms this is privilege elevation over a network. The severity is rated critical (9.9) because it crosses the tenant isolation boundary that multi-tenant Microsoft 365 depends on, and because it needs only an ordinary authenticated account. The archive did not observe the impact: the PoC reports a vulnerability verdict from the HTTP status and the presence of a response field, which shows the request was accepted but does not by itself prove the returned content is genuinely cross-tenant.
Environment / Lab Setup
OS: Linux, macOS, or Windows with Python 3
Target: Microsoft 365 Copilot hosted service
(https://substrate.office.com/m365Copilot/chat/completions)
Attacker: Python 3.8+ (standard library only); a bearer token issued to
an account in a tenant you control
Tools: python3, curl or Burp Suite for request inspection, browser
developer tools to capture an access token
Lab note: No local emulator exists for Microsoft 365 Copilot. Any test
needs a live Microsoft 365 tenant that you own, plus written
authorization to probe the second, victim tenant. Do not point
this at a tenant you do not control.Setup Steps
| |
Proof of Concept
Step-by-Step Reproduction
Prepare an authorized tenant pair — use an account in a tenant you control as the attacker principal, and a second tenant you own or are written-authorized to assess as the victim. There is no lab build step because the target is a hosted service.
Shell script1export BEARER="<access token for the attacker-tenant account>"Run the probe payloads — the PoC fires three built-in cross-tenant requests covering a SharePoint document summary, a Teams thread enumeration, and an Exchange mailbox listing, each carrying a victim tenant UUID in the grounding context.
Shell script1python3 poc.py --bearer "$BEARER" --mode probeRun a targeted test — supply the victim tenant UUID and a resource URL inside that tenant to test one specific cross-tenant reference.
Shell script1 2 3 4python3 poc.py --bearer "$BEARER" \ --victim-tenant "<victim-tenant-uuid>" \ --victim-resource "https://victim.sharepoint.com/sites/confidential/doc.docx" \ --mode targetedInterpret the verdict — the script prints VULNERABLE when the endpoint answers HTTP 200 and the body contains a choices field, PATCHED on HTTP 403, and asks the operator to re-check the token on HTTP 401. Any other status is printed as unexpected. Treat the verdict as a heuristic and confirm from the response content whether the data really belongs to the victim tenant.
Verify impact — confirm out of band that the returned summary or listing corresponds to victim-tenant content the attacker account has no legitimate access to, and record the request and response as evidence. The archive did not perform this step.
Exploit Code
See
poc.pyin this folder. The archived copy is the upstream script with an added authorized-research header.
| |
Expected Output
Output format produced by the script as shipped (not reproduced by the archive; the service is reported patched):
| |
A patched or non-vulnerable endpoint instead prints:
| |
Detection & Indicators of Compromise
POST https://substrate.office.com/m365Copilot/chat/completions HTTP 200
Authorization: Bearer <token whose tid claim != groundingContext.resources[].tenantId>
X-Ms-Client-Request-Id: cveforge-poc-00000000- Copilot requests where the resource tenant identifier differs from the tenant of the calling identity, in Microsoft 365 audit logs, Purview audit, or network egress logs for substrate.office.com.
- HTTP 200 Copilot responses for resources the caller’s account has no SharePoint, Teams, or Exchange permission on; check the corresponding SharePoint and Exchange access logs for authorization mismatches.
- The fixed client request id cveforge-poc-00000000 emitted by this PoC, or other repeated/static client request ids from a single user.
- Unusual Copilot usage volume or bulk summarization across many distinct SharePoint URLs in a short window.
- Microsoft Entra sign-in logs showing a token issued to one tenant used against a resource tenant path, or anomalous token replay from an unexpected address.
SIEM / IDS rule (example):
WHEN service = "Microsoft 365 Copilot"
AND request.path = "/m365Copilot/chat/completions"
AND token.tenant_id != body.groundingContext.resources[0].tenant_id
THEN alert "Copilot cross-tenant grounding attempt (CVE-2026-50691)"Remediation
| Action | Detail |
|---|---|
| Patch | Microsoft is reported to have deployed a service-side fix to all tenants on 2026-11-18, so there is no customer version to upgrade. Confirm tenant status with the MSRC update guide for CVE-2026-50691. For on-premises or hybrid M365 Copilot Gateway deployments, the upstream README names hotfix KB5058390; that identifier is unverified here, so check the MSRC guide before applying. |
| Workaround | Restrict Microsoft 365 Copilot to users and groups that need it, and block Copilot traffic from tenants or networks that must not query cross-tenant resources until the service fix is confirmed. |
| Config Hardening | Apply sensitivity labels and DLP to the content Copilot can ground on, review Copilot connector and SharePoint/OneDrive sharing scope, enforce least privilege on SharePoint and Teams, retain and monitor Purview audit logs for cross-tenant requests, and alert on the client request id and grounding-context mismatch signatures above. |
References
Notes
Auto-ingested from https://github.com/cveForge/CVE-2026-50691 on 2026-11-25.
Review verdict: ingested as a real but limited PoC. The repository contains a single executable script, poc.py, that builds and sends actual cross-tenant Copilot chat requests (SharePoint, Teams, and Exchange grounding payloads) plus a targeted mode, so it is an exploit client rather than a detector, scanner, or audit tool; it ships no defensive logic. Status is PoC rather than Weaponized because the script only checks for HTTP 200 and a choices field and prints the first 300 characters of the response: there is no end-to-end exfiltration, no parsing of the returned documents, no multi-tenant lab, and no demonstrated run or evidence in the repository. It also cannot be run without a live Microsoft 365 tenant and a valid bearer token for an account in that tenant, so there is no local reproduction; the archive did not execute it and did not test it against any tenant.
License status: the repository has no LICENSE file, so the code is archived with attribution for authorized research only, with the source URL recorded in the header of poc.py and in upstream-README.md.
Known limitations and accuracy notes: the root cause (an unvalidated tenant identifier in the grounding context) is the upstream author’s description, not a Microsoft or NVD statement, and Microsoft has published no technical detail, so the mechanism is unconfirmed. The claims that all tenants were affected from the start, that the service was patched on 2026-11-18, and that KB5058390 fixes on-premises M365 Copilot Gateway deployments come only from the upstream README and were not verified against MSRC. The PoC’s VULNERABLE verdict is heuristic and can produce false positives if the endpoint answers 200 with a choices field for unrelated reasons. The CVSS vector was not available in the worklist; the worklist gives a base score of 9.9, EPSS 0.00795 (about 0.8 percent), and no CISA KEV listing. Facts that could not be confirmed are left to the references.
| |