SecPod

Learn Search

Search across all Learn content

← Back to Security Research
One Request, Total Persistence: Inside the SharePoint Flaw Attackers Are Exploiting

One Request, Total Persistence: Inside the SharePoint Flaw Attackers Are Exploiting

A critical SharePoint deserialization flaw, CVE-2026-50522 (CVSS 9.8), is under active exploitation just weeks after its July 2026 patch, following a public PoC. Attackers are using it to steal IIS machine keys in a single request, gaining persistence that survives patching alone. Now on CISA's KEV list, it's the third actively exploited SharePoint flaw in recent months, patch immediately and rotate machine keys.

Oct 27, 2026By Santosh Sethuraman

Summary

CVE-2026-50522 is a critical deserialization of untrusted data vulnerability in Microsoft Office SharePoint Server, patched as part of Microsoft's July 2026 Patch Tuesday update. Microsoft rated the flaw with a CVSS score of 9.8, alongside an exploitability assessment of "Exploitation More Likely." That assessment proved accurate: security vendors have since observed active exploitation against on-premises SharePoint deployments following the release of a public proof-of-concept exploit.

What sets this campaign apart is the post-exploitation objective. Rather than simply proving code execution, attackers are using the flaw to steal SharePoint's IIS machine keys in a single request, credentials that can be reused to forge trusted requests and maintain persistent access long after the underlying vulnerability has been patched. It has also been discovered that patching alone is not sufficient; any exposed machine keys need to be rotated regardless of when a fix is applied.

Vulnerability Details

CVE IDCVSS ScoreEPSS ScoreAffected ProductsVulnerability Type
CVE-2026-50522 9.8 (Critical) 19.72% (97th percentile) SharePoint Server Subscription Edition, SharePoint Server 2019, SharePoint Server 2016 Enterprise (on-premises only) Deserialization of Untrusted Data (CWE-502)

Root Cause Analysis

CVE-2026-50522 stems from unsafe deserialization of untrusted data inside SharePoint Server. Deserialization vulnerabilities in .NET-based applications like SharePoint typically follow a well-established pattern: an application accepts a serialized object, often embedded in a ViewState, Web Part property, or API payload, and reconstructs it into a live .NET object without adequately restricting which types that data is allowed to instantiate. If an attacker can control the serialized bytes reaching that reconstruction step, they can craft a payload that instantiates a chain of otherwise-legitimate .NET classes, a technique commonly known as a "gadget chain," whose side effects during construction or disposal ultimately execute attacker-controlled code in the context of the SharePoint service account.

Microsoft has not published the specific code path or vulnerable component involved, consistent with its standard practice of withholding exploit-enabling detail from public advisories. What is confirmed is the vulnerability class (CWE-502) and the outcome: a request reaching the vulnerable deserialization logic results in arbitrary code execution on the server, with no memory-corruption exploitation reliability concerns of the kind seen in native-code vulnerabilities, deserialization bugs in managed languages tend to be dependable once a working gadget chain exists for the target's SharePoint version.

How CVE-2026-50522 Can Be Exploited

Attack prerequisites

  1. 1. A reachable, on-premises SharePoint Server instance running Subscription Edition, 2019, or 2016 Enterprise.
  2. 2. Per Microsoft's advisory, an attacker account already authenticated with at least Site Owner-level permissions on the target SharePoint site.
  3. 3. Network reachability to the SharePoint web front-end, whether directly internet-facing or reachable from an already-compromised internal position.

Conceptual exploitation flow

  1. 1. The attacker authenticates to the target SharePoint site with Site Owner-level access, either through legitimate credentials, a phished account, or access obtained via a prior intrusion.
  2. 2. Using Site Owner privileges, the attacker reaches a SharePoint feature that accepts and processes serialized .NET object data as part of its normal function, such as a Web Part property, an exposed API endpoint, or a ViewState-processing page. This is the surface the public proof-of-concept targets, since it is the point where attacker-supplied bytes flow directly into SharePoint's deserialization logic.
  3. 3. Rather than inventing a new gadget chain from scratch, the exploit builds on publicly cataloged .NET deserialization gadget chains, well-documented sequences of otherwise-legitimate framework classes whose constructors or destructors can be chained together to execute arbitrary commands once instantiated. The attacker selects a gadget chain compatible with the assemblies loaded in a standard SharePoint installation.
  4. 4. The chosen gadget chain is serialized into the object format SharePoint expects at that endpoint, wrapped with whatever formatting or encoding the target feature requires (for example, Base64 encoding within a ViewState field or a JSON/XML envelope for an API payload), and embedded in an otherwise normal-looking HTTP request to the vulnerable endpoint.
  5. 5. SharePoint deserializes the request without adequately validating which object types it is being asked to reconstruct. As the gadget chain's objects are instantiated, their chained side effects execute the attacker's embedded command, resulting in arbitrary code execution in the context of the SharePoint service account.
  6. 6. With code execution established, observed activity shows attackers immediately issuing a single follow-up request to extract the server's IIS machine keys.
  7. 7. The stolen machine keys let the attacker forge valid ViewState and authentication tokens independent of the original vulnerability, preserving access even after the SharePoint farm is patched, unless the keys themselves are rotated.
Key Observation: Because the persistence mechanism relies on stolen machine keys rather than the vulnerability itself, patching CVE-2026-50522 stops new exploitation attempts but does nothing to revoke access an attacker has already obtained. Any SharePoint farm that was internet-facing and unpatched during the exposure window should be treated as potentially compromised until machine keys are rotated and forensic review is complete.

Impact

Impact AreaDescription
Remote code executionArbitrary code runs in the context of the SharePoint service account, typically with broad access to the underlying server and connected infrastructure.
Persistent access via machine key theftStolen IIS machine keys allow attackers to forge trusted tokens and retain access independently of the original vulnerability, surviving a patch alone.
Collaboration data exposureFull compromise of the SharePoint farm exposes document libraries, site content, and any credentials or sensitive data stored or referenced within it.
Lateral movementA compromised SharePoint server, often deeply integrated with Active Directory and internal services, can serve as a pivot point deeper into the corporate network.
Chained exploitationCISA has observed this flaw exploited alongside other SharePoint CVEs as part of broader intrusion campaigns targeting on-premises deployments.

MITRE ATT&CK Mapping

Technique IDTechnique NameTactic
T1190Exploit Public-Facing ApplicationInitial Access (TA0001)
T1078Valid Accounts (Site Owner-level access required to reach the flaw)Initial Access (TA0001)
T1552Unsecured Credentials (IIS machine key theft)Credential Access (TA0006)
T1550Use Alternate Authentication Material (forged tokens from stolen keys)Defense Evasion (TA0005)
T1546Event Triggered Execution (deserialization-triggered code execution)Privilege Escalation (TA0004)

Mitigation

  1. 1. Apply Microsoft's July 2026 security update immediately.
  2. 2. Rotate IIS machine keys on every SharePoint server, regardless of patch status.
  3. 3. Audit for prior exploitation.
  4. 4. Enable AMSI integration in SharePoint Server 2016 and 2019.
  5. 5. Restrict and monitor Site Owner-level account provisioning.
  6. 6. Limit direct internet exposure of on-premises SharePoint front-ends

Instantly Fix Risks with Saner Patch Management

Saner patch management is a continuous, automated, and integrated software that instantly fixes risks exploited in the wild. The software supports major operating systems like Windows, Linux, and macOS, as well as 550+ third-party applications.

It also allows you to set up a safe testing area to test patches before deploying them in a primary production environment. Saner patch management additionally supports a patch rollback feature in case of patch failure or a system malfunction.

Experience the fastest and most accurate patching software here.

Featured Posts

Open November 2026 Linux Security Updates for Debian, Fedora, Red Hat and Ubuntu: Critical Browser, .NET and Enterprise Infrastructure Vulnerabilities
November 2026 Linux Security Updates for Debian, Fedora, Red Hat and Ubuntu: Critical Browser, .NET and Enterprise Infrastructure Vulnerabilities

CVE Research

November 2026 Linux Security Updates for Debian, Fedora, Red Hat and Ubuntu: Critical Browser, .NET and Enterprise Infrastructure Vulnerabilities

Nov 27, 2026

Open Drupal Installer Flaw Under Attack: Site Takeover Risk Persists
vulnerability researchDrupal Installer Flaw Under Attack: Site Takeover Risk Persists

CVE Research

Drupal Installer Flaw Under Attack: Site Takeover Risk Persists

CVE-2026-136716 is a highly critical Drupal core installer access-bypass vulnerability that is under active exploitation. An unauthenticated attacker can take over sites left in unusual or incomplete installation states, including some production sites. The earlier fix for CVE-2026-132165 does not cover every affected state. Fixed releases are Drupal Core 11.4.14, 11.3.23, and 10.6.23. This article covers how the flaw works, its relationship to the prior installer issue, impact, and remediation steps.

Nov 27, 2026

Open GT13 Campaign Targets 22 Organizations Through Check Point Security Management Server Exploitation
GT13 Campaign Targets 22 Organizations Through Check Point Security Management Server Exploitation

CVE Research

GT13 Campaign Targets 22 Organizations Through Check Point Security Management Server Exploitation

The GT13 campaign targeted at least 22 organizations worldwide by exploiting vulnerabilities in exposed services and Check Point Security Management Servers. The attackers used forged authentication sessions, SSH-based persistence, internal reconnaissance, lateral movement, and data exfiltration techniques to compromise systems and access sensitive information.

Nov 26, 2026

Open GeoServer Flaws Under Attack: Inside the Exploit Chain to Remote Code Execution
vulnerability researchGeoServer Flaws Under Attack: Inside the Exploit Chain to Remote Code Execution

CVE Research

GeoServer Flaws Under Attack: Inside the Exploit Chain to Remote Code Execution

Six vulnerabilities in GeoServer’s November 2026 security update can expose sensitive files, bypass service authorization, and enable administrator impersonation. Several of these flaws can be chained for unauthenticated remote code execution with the permissions of the GeoServer process. CVE-2026-120705 and CVE-2026-129243 have been reported as exploited. Fixed releases include GeoServer 3.0.2, 2.28.6, and 2.27.7. This article covers the flaws, the public five-CVE chain, impact, affected versions, and remediation guidance.

Nov 26, 2026