Skip to content
Access control Write-up Advanced

CVE-2025–53786: New Privilege Escalation in Microsoft Exchange

A design flaw in Microsoft Exchange hybrid deployments allowed an attacker with on-premises Exchange administrative control to escalate privileges into the connected Microsoft 365 environment. The attacker could reset passwords, convert cloud identities to hybrid, and impersonate users for mailbox access.

RealSec.io Follow

Published on medium.com

A newly disclosed critical vulnerability in Microsoft Exchange Server hybrid deployments has been identified, enabling attackers with on-premises administrative control to escalate privileges into connected Microsoft 365 environments with minimal forensic visibility. Designated CVE-2025–53786, the flaw was formally…

RealSec.io, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the hybrid architecture relied on a shared service principal with long-lived OAuth tokens, so on-premises Exchange administrators could obtain cloud tokens with broad permissions that could not be revoked quickly.

Impact

An attacker with prior on-premises Exchange admin access could escalate to global administrator roles in Microsoft 365 and access cloud resources without obvious audit trails; no active exploitation was detected, but proof-of-concept attacks were demonstrated.

What the attacker needed

Prior control over an on-premises Exchange server; hybrid Exchange deployment

The fix

Microsoft replaced the shared service principal with dedicated Exchange hybrid applications and released a non-security hotfix plus configuration guidance; administrators should apply the hotfix, transition to dedicated hybrid apps, reset credentials for shared service principals, and run the…

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

In hybrid setups, on-premises Exchange and cloud Exchange Online trust each other using a shared identity. This report says that trust was too broad: someone who already controlled the on-premises Exchange server could use that trust to act as powerful users in the cloud, such as resetting passwords or reading mailboxes.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by RealSec.io

View all

4 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.