Skip to content
CVE-2026-45583Important

Microsoft Exchange Server Remote Code Execution Vulnerability

Improper control of generation of code ('code injection') in Microsoft Exchange Server allows an unauthorized attacker to execute code over a network.

Part of June 2026 Security Updates (09 Jun 2026) · MSRC Security Update Guide ↗

Advertisement

About this vulnerability

According to the CVSS metric, the attack complexity is high (AC:H). What does this mean for this vulnerability?

Exploitation depends on an attacker being able to place themselves in a machine‑in‑the‑middle position on the network during use of the affected script. Because this requires specific network conditions that are not commonly present, the vulnerability is more difficult to exploit than issues that can be triggered directly.

How could an attacker exploit this vulnerability?

An attacker who is able to intercept network traffic could interfere with the secure connection used by the Exchange migration script and inject malicious data. When the script is run during a hybrid migration, this could cause unintended commands to run on the on‑premises Exchange server with administrative permissions.

Is there anything to be done in addition to installing the June 2026 security updates for my Exchange Server?

Yes, Microsoft recommends that customers download and use the latest, fixed version of the Public Folder scripts. The versions of the Public Folder scripts included with Exchange Server are outdated and will be removed in a future update. Customers can download the latest version of the Public Folder scripts here.

Details

Severity
Important
CVSS base score
7.5
Impact
Remote Code Execution
Exploited
No
Publicly disclosed
No
Exploitability
Exploitation Less Likely
Weakness (CWE)
CWE-94 Improper Control of Generation of Code ('Code Injection')
First published
09 Jun 2026
Last revised
09 Jun 2026

CVSS 3.1 metrics

Attack vectorNetwork
Attack complexityHigh
Privileges requiredNone
User interactionRequired
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Exploit code maturityUnproven
Remediation levelOfficial fix
Report confidenceConfirmed

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C · temporal score 6.5

Affected Microsoft 365 products

Security updates

UpdateFixed build
KB510321515.01.2507.071
KB510321415.02.1544.043
KB510321315.02.1748.048
KB510321215.02.2562.045

Customer action required Install the security update: it is not applied automatically for every product.

Acknowledgments

Anonymous

Revision history

Advertisement

Other Exchange Server CVEs in June 2026 Security Updates

Advertisement