CVE-2026-50522: Remote Code Execution in Microsoft SharePoint Server via .NET Deserialization
HERMES THREAT SCORE & ENTERPRISE COLLABORATION PLATFORM TAKEOVER
Target:Microsoft SharePoint Server (Subscription Edition, 2019, 2016) CVSS v3.1 rates CVE-2026-50522 at 9.8 (Critical) and CVSS v4.0 scores 9.8. The Hermes Threat Score assigns 98 (CRITICAL). Alignment is definitive: Microsoft SharePoint on-premises houses critical corporate intellectual property, document vaults, and Active Directory service accounts. Deserialization allows attackers to run shellcode under the IIS worker process (w3wp.exe) and pivot into enterprise Active Directory domains.
CVE-2026-50522: Remote Code Execution in Microsoft SharePoint Server via .NET DeserializationVULNERABILITY
Software platform affected by security vulnerabilities and agentic attack patterns.
π Why is this related? (Evidence & Provenance)
“Confirmed security vulnerability in Microsoft Windows & Windows 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)
Adversaries search compromise victims for unsecured credentials in files, environment variables, or memory.
π Why is this related? (Evidence & Provenance)
“Attack execution telemetry aligns with MITRE ATT&CK technique T1552.”
- [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 Server is widely deployed within on-premises government, defense, and healthcare environments for intranet collaboration and document repositories.
| Parameter | Technical Specification | Threat Context |
|---|---|---|
| CVE Identifier | CVE-2026-50522 | CISA KEV Catalog Entry |
| Vulnerable Component | Microsoft.SharePoint.dll (BDC Metadata Web Service) | .NET Remoting & Deserialization handler |
| Process Context | w3wp.exe (SharePoint Application Pool Identity) | Local administrative / Service Account privileges |
| Network Vector | HTTP/HTTPS (Port 80, 443, or custom web application ports) | Inbound web requests to SharePoint sites |
| Affected Versions | SharePoint Subscription Edition, 2019, 2016 | On-premises enterprise server farms |
| Fixed Versions | Microsoft Security Update (August / September 2026) | Official Windows Update MSRC Release |
| Exploitation Impact | RCE in IIS worker, Active Directory ticket extraction | Complete server farm compromise |
2. In-Depth Technical Decomposition: .NET Deserialization & Gadget Chains
Section titled β2. In-Depth Technical Decomposition: .NET Deserialization & Gadget ChainsβA. The Insecure Deserializer Handler
Section titled βA. The Insecure Deserializer HandlerβThe vulnerability exists in the BDC service endpoint that handles serialized model imports. When a client submits a payload containing serialized metadata structures, SharePoint attempts to deserialize the stream:
// Decompiled representation of vulnerable BDC deserialization routinepublic static object DeserializeMetadataObject(byte[] serializedData) { MemoryStream ms = new MemoryStream(serializedData); BinaryFormatter formatter = new BinaryFormatter(); // VULNERABILITY: No custom SerializationBinder attached to formatter return formatter.Deserialize(ms);}Because modern .NET object graphs support polymorphic type binding during deserialization, an attacker can craft a gadget chain leveraging standard classes in the Microsoft .NET framework (TypeConfuseDelegate, DataSet, or ActivitySurrogateSelector):
+----------------------------------------------------------------------------------------------------+| CVE-2026-50522 DESERIALIZATION EXECUTION FLOW |+----------------------------------------------------------------------------------------------------+
[Remote Adversary] β β [1] HTTP POST /_vti_bin/BDCMetadataService.svc β SOAP Envelope with Base64 serialized BinaryFormatter payload βΌ [Microsoft IIS / SharePoint Server (w3wp.exe)] β βββββΊ 1. SOAP Request Dispatcher: β - Forwards payload to DeserializeMetadataObject() β βββββΊ 2. BinaryFormatter Deserialization: β - Reconstructs malicious object graph β - Triggers TypeConfuseDelegate / SortedSet comparator callbacks β βββββΊ 3. Arbitrary Method Invocation: β - Invocator redirects execution to System.Diagnostics.Process.Start() β - Parameters: "powershell.exe -enc <Base64Payload>" β βΌ [Process Creation Under w3wp.exe] β βββββΊ Spawns powershell.exe / cmd.exe: - Executes memory-injected C2 implant (e.g. Cobalt Strike / Brute Ratel) - Dumps DPAPI farm master keys and machine keys from web.config - Interacts with Microsoft SQL Server backend database+----------------------------------------------------------------------------------------------------+3. Threat Intelligence, CISA KEV & Exploitation in the Wild
Section titled β3. Threat Intelligence, CISA KEV & Exploitation in the Wildβ- CISA KEV Addition: Added following active exploitation by advanced threat groups who chained CVE-2026-50522 with authentication bypasses to harvest sensitive intranet documentation.
- Weaponization Vector: Automated exploit toolkits weaponize
ysoserial.netformatters to drop in-memory web shells (e.g.SharpSpool,.ashxmemory-only handlers). - Farm Lateral Movement: Attackers utilize compromised
w3wp.exeidentities to dump machine keys fromweb.config, allowing them to forge ASP.NET ViewState tokens across all server nodes in the SharePoint farm.
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 | Remote HTTP POST with serialized payload to SharePoint endpoint |
| Execution | T1059.001 | Command and Scripting Interpreter: PowerShell | Spawning powershell.exe from w3wp.exe |
| Defense Evasion | T1505.003 | Server Software Component: Web Shell | Injecting memory-resident web shells into IIS application pool |
| Credential Access | T1552 | Unsecured Credentials | Extracting SharePoint farm credentials and web.config machine keys |
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 .NET Deserialization Exploit Attempt (CVE-2026-50522)"; flow:established,to_server; http.method; content:"POST"; http.uri; content:".svc"; http.request_body; content:"AAEAAAD///// "; classtype:web-application-attack; sid:202650522; rev:1; reference:cve,2026-50522;)B. Sigma Detection Rule
Section titled βB. Sigma Detection Ruleβtitle: Suspicious Child Process Spawned by IIS w3wp.exe (SharePoint)id: 4c3b2a1d-9e8f-7a6b-5c4d-50522c026e01status: highdescription: Detects suspicious child processes such as cmd.exe or powershell.exe spawned by SharePoint w3wp.exe worker processes.author: Hermes Codex Detection Engineeringdate: 2026-09-11logsource: product: windows category: process_creationdetection: selection_parent: ParentImage|endswith: '\w3wp.exe' selection_child: Image|endswith: - '\cmd.exe' - '\powershell.exe' - '\pwsh.exe' - '\rundll32.exe' - '\whoami.exe' condition: selection_parent and selection_childfalsepositives: - Rare custom administrative scripts invoked directly via IIS (atypical).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)βWindows Incident Response Checklist:
Section titled βWindows Incident Response Checklist:β- Examine IIS Worker Telemetry:
Terminal window Get-WinEvent -FilterHashtable @{LogName='Microsoft-Windows-Sysmon/Operational'; Id=1} |Where-Object { $_.Message -match "w3wp.exe" -and $_.Message -match "(cmd|powershell)" } - Review IIS W3C Logs:
- Look for high volume POST requests directed at
/_vti_bin/BDCMetadataService.svcor*.svcreturning HTTP 200 or 500 status codes.
- Look for high volume POST requests directed at
- Inspect ASP.NET Temporary Files:
- Check
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\for anomalous.dllcompilation timestamps.
- Check
Hunting Query (Elasticsearch / OpenSearch):
Section titled βHunting Query (Elasticsearch / OpenSearch):β{ "query": { "bool": { "must": [ { "term": { "process.parent.name": "w3wp.exe" } }, { "terms": { "process.name": ["cmd.exe", "powershell.exe", "pwsh.exe", "whoami.exe"] } } ] } }}7. Mitigation & Remediation
Section titled β7. Mitigation & Remediationβ- Deploy Microsoft MSRC Security Update: Apply the latest SharePoint Server Security Updates immediately.
- Enforce AMSI for SharePoint: Verify that Antimalware Scan Interface (AMSI) integration is enabled in SharePoint to inspect .NET deserialization buffers in memory.
- Network Isolation: Ensure internal SharePoint servers are segregated from direct internet exposure; require reverse proxy authentication with pre-authentication inspection.
- AppPool Identity Hardening: Run SharePoint Application Pools under managed service accounts (gMSA) with least privilege principles.