SecurityContext

CVE-2026-50522: Microsoft SharePoint Server - Remote Code Execution

Classification

  • Cwe: CWE-502
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Cpe: cpe:2.3:a:microsoft:sharepoint_server:*:*:*:*:*:*:*:*
  • Not known: epss score, epss percentile

Metadata

  • Fofa-query: header="MicrosoftSharePointTeamServices", app="Microsoft-SharePoint"
  • Max-request: 1
  • Product: sharepoint_server
  • Shodan-query: http.headers:"MicrosoftSharePointTeamServices", http.component:"sharepoint"
  • Vendor: microsoft
  • Checked, none or zero: verified

Products

ProductIndexedUrl
microsoft:sharepoint_serveryes/v1/products/microsoft/sharepoint_server

Labels

  • Name: Microsoft Office SharePoint - Remote Code Execution
  • Impact: Unauthorized attackers can execute arbitrary code remotely, potentially leading to full system compromise.
  • Remediation: Update to the latest version of Microsoft Office SharePoint.
  • Vulnerability type: insecure_deserialization
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2026-50522
  • Not known: requirements

```yaml

id: CVE-2026-50522

info:

name: Microsoft SharePoint Server - Remote Code Execution

author: DhiyaneshDk

severity: critical

description: |

Microsoft SharePoint Server 2016, 2019 and Subscription Edition contain a deserialization of untrusted data vulnerability that allows an unauthenticated attacker to execute code over a network.

impact: |

Unauthenticated attackers can execute arbitrary code on the SharePoint server, leading to full compromise of the server and its data.

remediation: |

Apply the July 2026 SharePoint security updates (2016 build 16.0.5561.1001, 2019 build 16.0.10417.20175, Subscription Edition build 16.0.19725.20434) or later.

reference:

- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-50522

- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-50522

- https://learn.microsoft.com/en-us/officeupdates/sharepoint-updates

- https://nvd.nist.gov/vuln/detail/CVE-2026-50522

classification:

cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

cvss-score: 9.8

cve-id: CVE-2026-50522

cwe-id: CWE-502

cpe: cpe:2.3:a:microsoft:sharepoint_server:*:*:*:*:*:*:*:*

metadata:

verified: false

max-request: 1

vendor: microsoft

product: sharepoint_server

shodan-query:

- http.headers:"MicrosoftSharePointTeamServices"

- http.component:"sharepoint"

fofa-query:

- header="MicrosoftSharePointTeamServices"

- app="Microsoft-SharePoint"

tags: cve,cve2026,microsoft,sharepoint,rce,deserialization,kev,passive,vd

http:

- method: GET

path:

- "{{BaseURL}}"

host-redirects: true

max-redirects: 2

matchers-condition: and

matchers:

- type: dsl

dsl:

- 'status_code == 200 || status_code == 302 || status_code == 401'

- 'contains(to_lower(header), "microsoftsharepointteamservices")'

condition: and

- type: dsl

dsl:

- 'compare_versions(sp_version, "< 16.0.0.5561") && compare_versions(sp_version, ">= 16.0.0.4351")'

- 'compare_versions(sp_version, "< 16.0.0.10417") && compare_versions(sp_version, ">= 16.0.0.10337")'

- 'compare_versions(sp_version, "< 16.0.0.19725") && compare_versions(sp_version, ">= 16.0.0.14326")'

condition: or

extractors:

- type: regex

name: sp_version

part: header

group: 1

regex:

- '(?i)MicrosoftSharePointTeamServices:\s*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)'

internal: true

- type: dsl

dsl:

- sp_version

digest: 490a004630440220558d22d7c10ed5e73ad50ee8619d669331415b2175d2a45953c87d0f794001020220045f9f914ec7bd6d3ca6eaba2d3383804123b8eba9d4d7d626625b2234b72eff:922c64590222798bb761d5b6d8e72950

```