Skip to navigation

Threat reportVulnerabilityTL-2026-0589

Microsoft SharePoint Authenticated RCE via Deserialization of Untrusted Data (CVE-2026-45659)

highPATCHED

CVE-2026-45659 is a deserialization-of-untrusted-data vulnerability (CWE-502) in Microsoft Office SharePoint disclosed by Microsoft on 2026-05-22. An authenticated attacker with low-privilege Site Member rights can deliver a crafted serialized payload to a vulnerable SharePoint endpoint, triggering arbitrary code execution in the context of the SharePoint application pool identity (typically a privileged service account).

Key facts

IdentifiersTL-2026-0589, CVE-2026-45659
SeverityHIGH
CVSS8.8 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
Exploitation statusLinked CVE exploited in the wild; Listed in CISA KEV: CVE-2026-45659 (added )
EPSSCVE-2026-45659: 2.7% (85.5th percentile)
Affected productsMicrosoft SharePoint Server Subscription Edition; Microsoft SharePoint Server 2019; Microsoft SharePoint Server 2016
Weaknesses (CWE)CWE-502
Toolsysoserial.net
MITRE ATT&CK techniquesT1003.001 OS Credential Dumping: LSASS Memory, T1021.002 Remote Services: SMB/Windows Admin Shares, T1027 Obfuscated Files or Information, T1036.005 Match Legitimate Resource Name or Location, T1041 Exfiltration Over C2 Channel, T1055 Process Injection, T1059.001 Command and Scripting Interpreter: PowerShell, T1059.003 Command and Scripting Interpreter: Windows Command Shell, T1068 Exploitation for Privilege Escalation, T1070.004 Indicator Removal: File Deletion, T1071.001 Application Layer Protocol: Web Protocols, T1078 Valid Accounts and 14 more in the attack flow
MotivationUNKNOWN
Target sectorsgovernment, financial, healthcare, education, manufacturing, technology, legal, energy
Target regionsGlobal
Detection rules9 (1 shown free)
Sources8 cited sources

Detection coverage

As of 2026-05-26, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-0589 across Splunk SPL, Microsoft KQL and Sigma, covering 16 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: SharePoint CVE-2026-45659 — w3wp.exe Spawning Shell / Compiler / Encoded PowerShell (C2 Trigger)

Detects the canonical w3wp.exe child-process anomaly used as the first stage of CVE-2026-45659 / ToolShell-lineage command execution and C2 initiation — application-pool worker spawning cmd.exe, powershell.exe, pwsh.exe, csc.exe, cscript.exe, or wscript.exe, with elevated severity when the command line includes -enc / -EncodedCommand / -nop -w hidden / FromBase64String / Invoke-Expression / IEX / DownloadString. This is the bridge between exploitation and C2/lateral movement.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1059.001, T1059.003, T1190, T1106
  • Data sources: sysmon, mde_process_events, windows_security_4688
  • Severity: critical
  • Confidence: high

Splunk SPL

index=sysmon sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=1 ParentImage="*\\w3wp.exe"
| eval img=lower(Image), cmd=lower(CommandLine)
| where match(img,"\\\\(cmd|powershell|pwsh|csc|cscript|wscript|mshta|rundll32|regsvr32|certutil|bitsadmin)\\.exe$")
| eval susp=0
| eval susp=if(match(cmd,"-enc(odedcommand)?\\b"), susp+3, susp)
| eval susp=if(match(cmd,"-nop\\b|-noprofile\\b"), susp+1, susp)
| eval susp=if(match(cmd,"-w\\s*hidden|-windowstyle\\s*hidden"), susp+1, susp)
| eval susp=if(match(cmd,"frombase64string|invoke-expression|iex\\b|downloadstring|downloadfile|webclient|invoke-webrequest|wget\\b|curl\\b"), susp+2, susp)
| eval susp=if(match(cmd,"-execpolicy\\s+bypass|-ep\\s+bypass"), susp+1, susp)
| where susp >= 1 OR match(img,"\\\\(csc|cscript|wscript)\\.exe$")
| eval threat_id="TL-2026-0589", cve="CVE-2026-45659", phase="c2_lateral"
| stats count min(_time) as first_seen max(_time) as last_seen max(susp) as max_susp values(CommandLine) as commands values(Image) as children values(User) as users by host
| table host, first_seen, last_seen, children, commands, users, max_susp, count, threat_id, cve, phase

Microsoft KQL

// CVE-2026-45659 — w3wp.exe spawning shell/compiler/encoded powershell
let window = 24h;
DeviceProcessEvents
| where Timestamp > ago(window)
| where InitiatingProcessFileName =~ "w3wp.exe"
| where FileName in~ ("cmd.exe", "powershell.exe", "pwsh.exe", "csc.exe", "cscript.exe", "wscript.exe", "mshta.exe", "rundll32.exe", "regsvr32.exe", "certutil.exe", "bitsadmin.exe")
| extend cmd = tolower(ProcessCommandLine)
| extend susp = toint(0)
    + toint(iff(cmd matches regex @"-enc(odedcommand)?\b", 3, 0))
    + toint(iff(cmd matches regex @"-nop\b|-noprofile\b", 1, 0))
    + toint(iff(cmd matches regex @"-w\s*hidden|-windowstyle\s*hidden", 1, 0))
    + toint(iff(cmd has_any ("frombase64string", "invoke-expression", " iex ", "downloadstring", "downloadfile", "webclient", "invoke-webrequest"), 2, 0))
    + toint(iff(cmd matches regex @"-ep\s+bypass|-executionpolicy\s+bypass", 1, 0))
| where susp >= 1 or FileName in~ ("csc.exe", "cscript.exe", "wscript.exe")
| project Timestamp, DeviceName, InitiatingProcessFileName, FileName, ProcessCommandLine, AccountName, susp
| extend ThreatId = "TL-2026-0589", CVE = "CVE-2026-45659", Phase = "c2_lateral"

Sigma

title: SharePoint w3wp.exe Spawning Shell or Compiler (CVE-2026-45659 / ToolShell Lineage)
id: 2026058903-1117-4007-9711-cve26d45659e7
status: experimental
description: Detects the SharePoint application-pool worker process (w3wp.exe) spawning a command shell, PowerShell, compiler, or scripting host. Hallmark of CVE-2026-45659 and the entire ToolShell deserialization lineage.
references:
    - https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-45659
    - https://www.cisa.gov/news-events/alerts/2025/07/20/active-exploitation-microsoft-sharepoint-vulnerabilities
author: Threadlinqs Team
date: 2026/05/26
tags:
    - attack.execution
    - attack.t1059.001
    - attack.t1059.003
    - attack.initial_access
    - attack.t1190
    - cve.2026.45659
logsource:
    product: windows
    category: process_creation
detection:
    selection_parent:
        ParentImage|endswith: '\w3wp.exe'
    selection_child:
        Image|endswith:
            - '\cmd.exe'
            - '\powershell.exe'
            - '\pwsh.exe'
            - '\csc.exe'
            - '\cscript.exe'
            - '\wscript.exe'
            - '\mshta.exe'
            - '\rundll32.exe'
            - '\regsvr32.exe'
            - '\certutil.exe'
            - '\bitsadmin.exe'
    condition: selection_parent and selection_child
fields:
    - ParentImage
    - Image
    - CommandLine
    - User
falsepositives:
    - SharePoint cumulative update post-install (psconfig.exe / wsssetup.exe will sometimes appear as w3wp ancestors during reconfiguration)
    - Custom SharePoint timer jobs that legitimately shell out under a documented service account (rare and should be reviewed)
level: critical

Known false positives:

  • SharePoint post-patch reconfiguration where w3wp.exe briefly spawns cscript.exe during health checks
  • Custom SharePoint timer jobs that shell out under a documented farm service account (review and add an exception with care)
  • Legitimate SharePoint developer using IIS Manager to recycle pools and execute deployment scripts under an authorised admin account

Tuning notes: Tier severity by suspicion score — raw w3wp -> cmd.exe with no flags is high; w3wp -> powershell.exe with -enc / -nop -w hidden / FromBase64String is critical. Suppress during documented patch windows. Pair with TL-2026-0589-SPL-001 (BinaryFormatter POST) within 60 seconds for a high-confidence chained alert. Validate against the Threadlinqs Team simulation which produces sim-w3wp.exe -> powershell.exe -enc as the surrogate process tree.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account)
  • SharePoint CVE-2026-45659 — ASP.NET Deserialization Exception 1310/1309 (Exploitation) · unlock with TL Creds
  • SharePoint CVE-2026-45659 — web.config Read by w3wp.exe Child Process (MachineKey Extraction) · unlock with TL Creds
  • SharePoint CVE-2026-45659 — Outbound C2/Exfil from SharePoint Farm to Non-Microsoft Destination · unlock with TL Creds
  • SharePoint CVE-2026-45659 — Suspicious ysoserial/yso User-Agent or Picker.aspx Marker (Exploitation) · unlock with TL Creds
  • SharePoint CVE-2026-45659 — IIS Worker Account Manipulation / Privileged Group Add (Post-Exploitation) · unlock with TL Creds
  • SharePoint CVE-2026-45659 — SMB Lateral Movement / Admin Share Access from SharePoint Farm (Lateral Movement) · unlock with TL Creds
  • SharePoint CVE-2026-45659 — BinaryFormatter Marker in POST to LAYOUTS Endpoint (Exploitation) · unlock with TL Creds
  • SharePoint CVE-2026-45659 — Webshell Drop in LAYOUTS / VirtualDirectories Hive (Post-Exploitation) · unlock with TL Creds

Indicators of compromise

As of 2026-05-26, Threadlinqs Intelligence tracks 16 indicators of compromise for TL-2026-0589.

16 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

CVSS 3.1 base score 8.8 (HIGH); Microsoft has shipped patches via the May 2026 MSRC release cycle.

Microsoft disclosed CVE-2026-45659 on 2026-05-22 as a network-exploitable authenticated remote code execution vulnerability affecting Microsoft Office SharePoint Server. The root cause is unsafe BinaryFormatter/LosFormatter/ObjectStateFormatter-style deserialization of attacker-controlled serialized .NET objects delivered through a SharePoint web endpoint. When the SharePoint Application Pool processes the crafted payload, gadget chains within the loaded assemblies (commonly TypeConfuseDelegate, ActivitySurrogateSelector, or System.Workflow.ComponentModel surrogates as seen in prior SharePoint deserialization issues) execute arbitrary code under the w3wp.exe worker process identity.

This vulnerability sits in the same family as the ToolShell exploit chain (CVE-2025-49706 / CVE-2025-49704 / CVE-2025-53770) that drove worldwide compromises of on-premise SharePoint farms in July 2025, as well as the older CVE-2020-1147 ViewState issue and CVE-2019-0604 picker validation flaw. The 2026-05-22 disclosure differs in that exploitation requires authentication (PR:L) — an attacker must hold at least SharePoint Site Member credentials — but the network-reachable attack surface (AV:N), low attack complexity (AC:L), and full confidentiality/integrity/availability impact (C:H/I:H/A:H) make it an attractive secondary-stage objective after credential theft, phishing, password spray, or session-cookie replay.

Exploit chain (expected, based on family precedent): (1) initial access — attacker harvests valid SharePoint user credentials via phishing/password-spray/cookie-replay or pivots from an already-compromised endpoint; (2) authentication to the target SharePoint web front end over HTTPS; (3) delivery of a crafted serialized .NET object — typically embedded in a request to a vulnerable handler such as the picker callback, web part property bag, ViewState, or list event receiver — using publicly available tooling such as ysoserial.net to produce TypeConfuseDelegate or other gadget chains targeting Microsoft.SharePoint.dll; (4) the application pool worker process deserializes the payload, instantiates the malicious object graph, and executes attacker code; (5) post-exploitation typically follows the ToolShell playbook — drop a small ASPX webshell (e.g., spinstall0.aspx) inside the LAYOUTS directory, extract the SharePoint MachineKey ValidationKey/DecryptionKey for persistent payload forging, enumerate site collections, dump content database connection strings, and pivot via Kerberos delegation or saved credentials. Threat actors known to have weaponised the prior SharePoint family include Linen Typhoon, Violet Typhoon, and Storm-2603 (Microsoft naming); historical actors with deep SharePoint deserialization tradecraft include APT41 and the Hafnium-adjacent clusters.

Indicator and detection priorities: w3wp.exe spawning cmd.exe / powershell.exe / csc.exe / cscript.exe; ASPX file writes to the LAYOUTS, _layouts, or TEMPLATE directories under the SharePoint hive; unusual base64 or gzip blobs in POST bodies to /_layouts/15/, /_layouts/16/, /_vti_bin/, or list/library endpoints; outbound TLS from SharePoint farms to non-Microsoft destinations; ASP.NET deserialization exceptions (event ID 1310) immediately preceded or followed by w3wp.exe child process creation; machine-key disclosure events (file reads on web.config from non-administrative processes).

Microsoft shipped patches via the May 2026 Patch Tuesday release. Organizations running SharePoint Subscription Edition, SharePoint Server 2019, and SharePoint Server 2016 should apply the relevant security update KB, rotate the SharePoint MachineKey ValidationKey and DecryptionKey post-patch (the rotation is essential because attackers who reached an unpatched server can forge signed payloads indefinitely without it), restart IIS, and audit for the post-exploitation indicators above. On-premise SharePoint farms exposed directly to the internet should be prioritised; defenders should also restrict SharePoint authentication to corporate identity providers with MFA and revoke service-principal/long-lived tokens.

MITRE ATT&CK techniques by tactic:

Credential Access

T1003.001 OS Credential Dumping: LSASS Memory; T1552.001 Unsecured Credentials: Credentials In Files; T1606 Forge Web Credentials

Lateral Movement

T1021.002 Remote Services: SMB/Windows Admin Shares; T1550 Use Alternate Authentication Material

Defense Evasion

T1027 Obfuscated Files or Information; T1036.005 Match Legitimate Resource Name or Location; T1070.004 Indicator Removal: File Deletion

Exfiltration

T1041 Exfiltration Over C2 Channel

Privilege Escalation

T1055 Process Injection; T1068 Exploitation for Privilege Escalation

Execution

T1059.001 Command and Scripting Interpreter: PowerShell; T1059.003 Command and Scripting Interpreter: Windows Command Shell; T1106 Native API

Command and Control

T1071.001 Application Layer Protocol: Web Protocols; T1105 Ingress Tool Transfer

Initial Access

T1078 Valid Accounts; T1078.002 Valid Accounts: Domain Accounts; T1190 Exploit Public-Facing Application; T1566 Phishing

Discovery

T1082 System Information Discovery; T1083 File and Directory Discovery; T1087.002 Account Discovery: Domain Account

Persistence

T1098 Account Manipulation; T1505.003 Server Software Component: Web Shell

Collection

T1213.002 Data from Information Repositories: SharePoint

Remediation

Patches

  • Microsoft Security Update for CVE-2026-45659 — SharePoint Subscription Edition (May 2026 MSRC release)
  • Microsoft Security Update for CVE-2026-45659 — SharePoint Server 2019 (May 2026 MSRC release)
  • Microsoft Security Update for CVE-2026-45659 — SharePoint Server 2016 (May 2026 MSRC release)

Immediate actions

  • Apply Microsoft May 2026 security updates for SharePoint Subscription Edition, SharePoint Server 2019, and SharePoint Server 2016 (KBs published in MSRC update guide for CVE-2026-45659)
  • Rotate SharePoint MachineKey ValidationKey and DecryptionKey on every web front end after patching (Set-SPMachineKey / Update-SPMachineKey or manual web.config rotation) and restart IIS — this is essential to revoke any previously forged payloads
  • Audit LAYOUTS / _layouts / TEMPLATE directories for unexpected ASPX, ASMX, or ASHX files (especially spinstall0.aspx, spinstall1.aspx, debug_dev.js, ghostfile.aspx) and quarantine for forensic review
  • Block direct internet exposure of on-premise SharePoint web front ends; place behind an authenticated reverse proxy with MFA enforcement
  • Revoke and reissue SharePoint service account credentials and any OAuth/long-lived tokens that may have been disclosed via web.config or LSASS scraping

Workarounds

  • Until patches can be staged, disable anonymous and self-service site creation, restrict SharePoint Site Member assignment to vetted identities only, and remove guest/external sharing on sensitive site collections
  • Front SharePoint with a Web Application Firewall configured to block requests containing serialized .NET marker strings (e.g., AAEAAAD/////, ObjectStateFormatter signatures, base64-encoded TypeConfuseDelegate patterns)
  • Enforce IP allow-listing on the SharePoint web front end so authentication endpoints are only reachable from corporate networks and VPN ranges

Longer-term hardening

  • Deploy Microsoft Defender for Endpoint with attack surface reduction rule 'Block Office applications from creating child processes' equivalent enforced on SharePoint hosts via WDAC/AppLocker for w3wp.exe child processes
  • Enable SharePoint Antimalware Scan Interface (AMSI) integration and ensure Defender Antivirus is in active mode on every farm host
  • Migrate eligible workloads from on-premise SharePoint to SharePoint Online / Microsoft 365 where Microsoft assumes deserialization-attack-surface management
  • Implement network segmentation isolating SharePoint farms from domain controllers, file servers, and SQL backends; restrict outbound internet egress to a documented allow list
  • Roll out detection content for ASP.NET deserialization exceptions (Application event ID 1310) correlated with w3wp.exe process tree anomalies
  • Centralise SharePoint authentication via ADFS / Entra ID with conditional access policies that require MFA and compliant device posture for any account capable of authoring SharePoint content

Affected and fixed versions

  • Microsoft — SharePoint Server Subscription Edition
    Vulnerable versions: all builds prior to May 2026 security update
    Fixed in: May 2026 cumulative security update
  • Microsoft — SharePoint Server 2019
    Vulnerable versions: all builds prior to May 2026 security update
    Fixed in: May 2026 cumulative security update
  • Microsoft — SharePoint Server 2016
    Vulnerable versions: all builds prior to May 2026 security update
    Fixed in: May 2026 cumulative security update

Timeline

  • Microsoft patches an early .NET deserialization RCE in Workflow components, establishing the gadget-chain pattern later abused against SharePoint.
  • CVE-2019-0604 (SharePoint picker callback deserialization) is patched after widespread exploitation, including by APT actors against the United Nations and aid organizations.
  • CVE-2020-1147 (.NET ViewState DataSet/DataTable deserialization) is patched; SharePoint surfaces are confirmed exploitable.
  • ToolShell exploit chain (CVE-2025-49706 / CVE-2025-49704 / CVE-2025-53770) is observed in active mass exploitation against on-premise SharePoint farms; CISA issues emergency guidance.
  • NVD publishes CVE-2026-45659 with CVSS 3.1 vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
  • Microsoft publishes CVE-2026-45659 in the MSRC update guide as an authenticated deserialization RCE in SharePoint with CVSS 8.8 HIGH; security updates shipped concurrently.
  • Threadlinqs Intelligence opens tracking TL-2026-0589 based on CISA/NVD feed monitoring and SharePoint deserialization family precedent.
  • As of 2026-05-29, CVE-2026-45659 (SharePoint authenticated deserialization RCE, CVSS 8.8) was fixed in Microsoft's May 2026 updates; Microsoft rates it "less likely to be exploited," with no public PoC, no in-the-wild exploitation, and no CISA KEV listing. Patched and not exploited; risk persists only for unpatched on-prem farms given the ToolShell deserialization lineage.

Sources cited

Other reports on CVE-2026-45659

Previous and next in vulnerability

Drafted by the Threadlinqs research pipeline from 8 sources; published ; last updated —.

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats