Threat reportVulnerabilityTL-2026-1113
Microsoft Exchange SSRF Vulnerability (CVE-2026-45504) — Public PoC Exploit Enables Authenticated Arbitrary File Read
CVE-2026-45504 is a CVSS 8.8 server-side request forgery flaw in Microsoft Exchange's OneDriveProUtilities component (TryTwice/GetWacUrl functions) that lets an authenticated, low-privileged user craft an EWS ReferenceAttachment with a malicious ProviderEndpointUrl pointing to attacker infrastructure. Exchange fails to validate the URL scheme of the WOPI-returned WebApplicationUrl, allowing a file:// URI (hidden behind a fragment '#' trick) to be used for arbitrary local file read.
Key facts
| Identifiers | TL-2026-1113, CVE-2026-45504 |
|---|---|
| Severity | HIGH |
| CVSS | 8.8 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) |
| Exploitation status | Public proof-of-concept exploit for a linked CVE |
| EPSS | CVE-2026-45504: 0.7% (54.5th percentile) |
| Affected products | Microsoft Exchange Server 2016; Microsoft Exchange Server 2019; Microsoft Exchange Server Subscription Edition |
| Weaknesses (CWE) | CWE-918, CWE-346 |
| Tools | hawktrace/CVE-2026-45504 |
| MITRE ATT&CK techniques | T1005 Data from Local System, T1027 Obfuscated Files or Information, T1068 Exploitation for Privilege Escalation, T1071.001 Web Protocols, T1082 System Information Discovery, T1083 File and Directory Discovery, T1090 Proxy, T1190 Exploit Public-Facing Application, T1204.002 Malicious File, T1210 Exploitation of Remote Services, T1211 Exploitation for Stealth, T1552.001 Credentials In Files and 4 more in the attack flow |
| Motivation | UNKNOWN |
| Target sectors | government administration, financial-services, health, technology, legal, energy, education, manufacturing |
| Target regions | Global |
| Detection rules | 9 (1 shown free) |
| Sources | 22 cited sources |
Detection coverage
As of 2026-07-05, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-1113 across Splunk SPL, Microsoft KQL and Sigma, covering 18 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.
Free detection: Fragment-Bypass Local File Read via FileWebRequest Following WOPI Token Exchange (CVE-2026-45504)
Detects the completion of the CVE-2026-45504 exploitation chain: within seconds of a GetWopiTargetPropertiesByUrl lookup, the Exchange worker process (w3wp.exe) issues a FileWebRequest / local file-open operation against a filesystem path, and Sysmon records w3wp.exe opening or reading sensitive Exchange configuration artifacts (OWA web.config, certificate/machine-key material) rather than a normal WAC preview object.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1005, T1552.001, T1068
- Data sources: sysmon, exchange_ews_logs, windows_security
- Severity: critical
- Confidence: high
Splunk SPL
index=sysmon sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=11
Image="*\\w3wp.exe"
| where match(TargetFilename, "(?i)(\\\\web\\.config$|machinekey|\\.pfx$|\\.pem$|\\\\win\\.ini$)")
| join type=left Computer
[ search index=exchange sourcetype="MSExchange:HttpProxy" RequestUrl="*GetWopiTargetPropertiesByUrl*"
| stats count as wopi_lookup_count min(_time) as wopi_lookup_time by Computer ]
| where wopi_lookup_count > 0 AND (_time - wopi_lookup_time) < 60
| table _time Computer Image TargetFilename User wopi_lookup_count wopi_lookup_timeMicrosoft KQL
let SensitiveFilePatterns = dynamic(["web.config","MachineKey",".pfx",".pem"]);
let WopiLookups = DeviceNetworkEvents
| where Timestamp > ago(24h)
| where InitiatingProcessFileName =~ "w3wp.exe"
| where RemoteUrl has "GetWopiTargetPropertiesByUrl"
| project WopiTime = Timestamp, DeviceName;
DeviceFileEvents
| where Timestamp > ago(24h)
| where InitiatingProcessFileName =~ "w3wp.exe"
| where FileName has_any (SensitiveFilePatterns)
| join kind=inner WopiLookups on DeviceName
| where Timestamp - WopiTime between (0min .. 5min)
| project Timestamp, DeviceName, FileName, FolderPath, InitiatingProcessAccountName, WopiTimeSigma
title: Exchange w3wp.exe Sensitive File Access Correlated to WOPI Lookup (CVE-2026-45504)
id: 9d1e3f5a-6b7c-48d9-a2e1-5c3b7f9d1e0a
status: experimental
description: Detects w3wp.exe opening or reading sensitive Exchange configuration/credential artifacts (web.config, machine keys, certificate files) shortly after a GetWopiTargetPropertiesByUrl lookup, indicating successful completion of the CVE-2026-45504 SSRF-to-arbitrary-file-read chain.
references:
- https://hawktrace.com/blog/CVE-2026-45504/
author: Threadlinqs Team
date: 2026-07-05
tags:
- attack.privilege-escalation
- attack.t1068
- attack.collection
- attack.t1005
- attack.credential-access
- attack.t1552.001
- cve.2026.45504
logsource:
category: file_event
product: windows
detection:
selection:
Image|endswith: '\w3wp.exe'
TargetFilename|endswith:
- '\web.config'
- '.pfx'
- '.pem'
TargetFilename|contains: 'MachineKey'
condition: selection
fields:
- Computer
- Image
- TargetFilename
- User
falsepositives:
- Legitimate Exchange/IIS configuration reloads or administrative maintenance touching web.config
level: criticalKnown false positives:
- Legitimate Exchange/IIS configuration reloads or scheduled administrative maintenance touching web.config or certificate files
Tuning notes: Tune the join/correlation window (currently 60s/5min) to match observed latency between WOPI lookup and file access in the environment; exclude scheduled patch/maintenance windows performing legitimate web.config redeployment.
- Exchange w3wp.exe Outbound WOPI Metadata Lookup (GetWopiTargetPropertiesByUrl) to Non-Allowlisted Host · unlock with TL Creds
- Exchange Worker Process Reading Sensitive Configuration Files Post-SSRF Lookup · unlock with TL Creds
- Exchange Server Used as SSRF Proxy — High-Volume Outbound Connections to External Non-Allowlisted Endpoint · unlock with TL Creds
- WOPI Response Containing Non-HTTP(S) file:// WebApplicationUrl Scheme · unlock with TL Creds
- CVE-2026-45504 Elevation-of-Privilege File-Read Chain — w3wp.exe Process/File Correlation · unlock with TL Creds
- Exchange Server Egress Anomaly — SSRF-Enabled Outbound Beacon to Attacker-Controlled WOPI Infrastructure · unlock with TL Creds
- EWS ReferenceAttachment Created with Non-Allowlisted External ProviderEndpointUrl (CVE-2026-45504) · unlock with TL Creds
- Automated PoC-Style Repeated GetWopiTargetPropertiesByUrl Requests (SSRF Scanning Behavior) · unlock with TL Creds
Indicators of compromise
As of 2026-07-05, Threadlinqs Intelligence tracks 18 indicators of compromise for TL-2026-1113.
Technical analysis
HawkTrace publicly released a PoC exploit on GitHub on 2026-07-03; Microsoft had already patched the flaw on 2026-06-09.
CVE-2026-45504 is a server-side request forgery (SSRF) vulnerability affecting on-premises Microsoft Exchange Server 2016 (CU23), Exchange Server 2019 (CU14/CU15), and Exchange Server Subscription Edition (RTM builds prior to 15.02.2562.043). The root cause lies in Exchange's OneDriveProUtilities component, specifically the TryTwice and GetWacUrl helper functions used to build WAC (Web Application Companion / Office Online) document-preview URLs when a user interacts with a reference attachment.
An authenticated, low-privileged user can use Exchange Web Services (EWS) to create a ReferenceAttachment whose ProviderEndpointUrl points to an attacker-controlled HTTP server rather than a legitimate SharePoint/OneDrive/WOPI host. When the attachment is previewed, Exchange's backend issues a GetWopiTargetPropertiesByUrl request to that attacker-controlled endpoint to retrieve WOPI metadata. The malicious server responds with a crafted WebApplicationUrl field containing a file:// URI (for example, file:///C:/Windows/win.ini#) instead of a legitimate https:// WAC URL.
Because Exchange does not validate the URL scheme of the WebApplicationUrl value returned by the WOPI provider, it accepts the file:// scheme and proceeds to construct the final request. A '#' fragment character appended after the file path causes the URI parser to treat everything that follows (including OAuth access_token query parameters Exchange normally appends) as a fragment, which is discarded rather than appended to the path. Exchange then issues a FileWebRequest against the local filesystem path and returns the file's contents through the same response channel used for legitimate WAC previews — converting what starts as an SSRF primitive into a full arbitrary local file read on the Exchange server, achievable by any authenticated low-privileged mailbox user.
Security researchers at HawkTrace discovered and reported the flaw, and Microsoft addressed it in the June 9, 2026 Patch Tuesday cycle via KB5094139 (Subscription Edition RTM), KB5094142 (Exchange 2019 CU14), KB5094140 (Exchange 2019 CU15), and KB5094144 (Exchange 2016 CU23). Microsoft's initial exploitability assessment rated the issue 'Exploitation Less Likely.' On 2026-07-03, HawkTrace published a detailed technical write-up and a public proof-of-concept exploit on GitHub that automates malicious WOPI server setup, Exchange authentication, and arbitrary file requests (demonstrated against C:\Windows\win.ini), substantially lowering the barrier to exploitation for any unpatched, internet- or intranet-reachable Exchange server. There is no confirmed evidence of in-the-wild exploitation and the CVE does not currently appear in the CISA Known Exploited Vulnerabilities catalog, but the public, weaponized PoC materially raises near-term risk for organizations that have not yet applied the June 2026 updates, particularly those running Exchange 2016/2019 out of mainstream support and relying on the Extended Security Updates (ESU) program.
Post-exploitation, arbitrary local file read on an Exchange server can expose highly sensitive material — IIS/OWA web.config files containing connection strings and machine keys, certificate private key files, configuration data, and other artifacts that can be leveraged for further privilege escalation, credential theft, or full server/domain compromise — making this a high-value primitive even though the vulnerability itself does not include a code-execution step.
MITRE ATT&CK techniques by tactic:
Collection
Defense Evasion
T1027 Obfuscated Files or Information; T1211 Exploitation for Stealth
Privilege Escalation
T1068 Exploitation for Privilege Escalation
Command and Control
T1071.001 Web Protocols; T1090 Proxy
Discovery
T1082 System Information Discovery; T1083 File and Directory Discovery
Initial Access
T1190 Exploit Public-Facing Application; T1566.001 Spearphishing Attachment
Execution
Lateral Movement
T1210 Exploitation of Remote Services
Credential Access
T1552.001 Credentials In Files
Resource Development
T1583.004 Server; T1587.004 Exploits
Reconnaissance
Remediation
Patches
- KB5094144 — Exchange Server 2016 CU23
- KB5094142 — Exchange Server 2019 CU14
- KB5094140 — Exchange Server 2019 CU15
- KB5094139 — Exchange Server Subscription Edition RTM
Immediate actions
- Apply the June 9, 2026 Exchange security updates (KB5094139, KB5094140, KB5094142, KB5094144) to all on-premises Exchange 2016, 2019, and Subscription Edition servers immediately given the public PoC.
- Restrict Exchange server outbound HTTP/HTTPS connectivity to only known, allowlisted WOPI/Office Online endpoints via firewall or forward-proxy egress rules.
- Review EWS/transport logs for ReferenceAttachment objects whose ProviderEndpointUrl references non-corporate or unexpected external hosts.
Workarounds
- Where patching cannot be applied immediately, restrict or disable outbound WOPI/WAC document-preview functionality if operationally acceptable.
- Block outbound connections from Exchange servers to untrusted or non-allowlisted external IP ranges and domains at the network perimeter.
Longer-term hardening
- Deploy network egress monitoring and proxy inspection for all outbound traffic originating from Exchange server roles.
- Enforce least-privilege mailbox and EWS application access policies to reduce the blast radius of any single compromised low-privilege account.
- Enroll out-of-mainstream-support Exchange 2016/2019 deployments in Microsoft's Extended Security Updates (ESU) program to continue receiving security patches.
- Plan migration to Exchange Online or a currently supported on-premises Exchange release to reduce long-term exposure to legacy WOPI/EWS attack surface.
Affected and fixed versions
- Microsoft — Exchange Server 2016
Vulnerable versions: Cumulative Update 23 (pre-June 2026 update)
Fixed in: CU23 with KB5094144 - Microsoft — Exchange Server 2019
Vulnerable versions: Cumulative Update 14 (pre-update); Cumulative Update 15 (pre-update)
Fixed in: CU14 with KB5094142; CU15 with KB5094140 - Microsoft — Exchange Server Subscription Edition
Vulnerable versions: RTM builds prior to 15.02.2562.043
Fixed in: 15.02.2562.043 and later via KB5094139
Timeline
- Industry Patch Tuesday trackers (Zero Day Initiative, Brinqa, N-able) flag CVE-2026-45504 as one of seven Exchange Server CVEs — three spoofing, two information-disclosure, this elevation-of-privilege flaw, and one RCE — patched in a record 198-CVE June 2026 Patch Tuesday, advising administrators to apply the full Exchange update batch rather than triage individually.
- Qualys publishes mitigation/detection signatures covering CVE-2026-45504 the same day as Microsoft's fix, as part of its June 2026 Patch Tuesday security update review.
- Microsoft's initial MSRC exploitability assessment rates CVE-2026-45504 as 'Exploitation Less Likely' at the time of patch release.
- Security update KBs are published on Microsoft Support: KB5094139 (Subscription Edition RTM), KB5094142 (Exchange 2019 CU14), KB5094140 (Exchange 2019 CU15), and KB5094144 (Exchange 2016 CU23).
- Microsoft ships fixes for CVE-2026-45504 as part of the June 2026 Patch Tuesday cycle, addressing the Exchange Server SSRF / arbitrary file read (Elevation of Privilege) flaw.
- Cyber Security News reports that a public proof-of-concept exploit for CVE-2026-45504 is already circulating, noting Microsoft's initial 'Exploitation Less Likely' rating is being reconsidered as functional exploit code increases the likelihood of threat-actor adoption — over a week before HawkTrace's own GitHub PoC release.
- Additional outlets (GBHackers, CyberPress, Rankiteo) republish technical analysis of the SSRF/file-read exploitation chain, broadening awareness among defenders.
- Cyber Security News publishes coverage of the vulnerability and public PoC release, raising visibility and urgency for organizations running unpatched on-premises Exchange.
- HawkTrace publicly releases a working PoC exploit on GitHub that automates malicious WOPI server setup, Exchange authentication, and arbitrary local file read requests.
- HawkTrace publishes a detailed technical blog post, authored by researcher Batuhan Er, describing the OneDriveProUtilities/TryTwice/GetWacUrl root cause and the file:// fragment-bypass exploitation chain.
Sources cited
Showing 15 of 22 sources, primary sources first.
- CVE-2026-45504 Microsoft Exchange SSRF via File Read hawktrace.com · Advisory · 2026-07-03
- NVD - CVE-2026-45504 NVD (NIST) · Advisory
- Warning: Privilege Escalation Vulnerability in Exchange Server 2016, 2019 and Subscription Edition, Patch Immediately! ccb.belgium.be · Advisory
- CVE-2026-45504 - Security Update Guide - Microsoft Exchange Server Elevation of Privilege Vulnerability Microsoft Security Response Center · Vendor report · 2026-06-09
- Released: June 2026 Exchange Server Security Updates Microsoft · Vendor report · 2026-06-09
- Description of the security update for Microsoft Exchange Server 2019 CU14: June 09, 2026 (KB5094142) Microsoft · Vendor report · 2026-06-09
- Description of the security update for Microsoft Exchange Server 2016 CU23: June 09, 2026 (KB5094144) Microsoft · Vendor report · 2026-06-09
- Description of the security update for Microsoft Exchange Server 2019 CU15: June 09, 2026 (KB5094140) Microsoft · Vendor report · 2026-06-09
- Description of the security update for Microsoft Exchange Server Subscription Edition RTM: June 09, 2026 (KB5094139) Microsoft · Vendor report · 2026-06-09
- CVE-2026-45504 - Overview, Insights & Trends cvemon.intruder.io · Research
- Microsoft and Adobe Patch Tuesday, June 2026 Security Update Review blog.qualys.com · Vendor report · 2026-06-09
- The June 2026 Security Update Review thezdi.com · Research · 2026-06-09
- hawktrace/CVE-2026-45504 PoC exploit GitHub · Proof of concept
- Microsoft Exchange SSRF Vulnerability Lets Low-Privileged Attackers Read Arbitrary Files gbhackers.com · Blog
- PoC Released for Microsoft Exchange SSRF Flaw That Lets Low-Privileged Users Read Files cyberpress.org · Blog
Previous and next in vulnerability
Drafted by the Threadlinqs research pipeline from 22 sources; published ; last updated —.