Materialized exploit
CVE-2026-50522
CRITICAL KEV1 public exploit(s) for this CVE, 1 materialized with their code.
For defensive research only. Only test on systems you own or have written authorization for. Unauthorized access is illegal.
Nuclei
critical Verified
Source
Microsoft SharePoint Server - Remote Code Execution
By projectdiscovery
How to test this exploit
The Nuclei template IS the test: an executable detection rule. Install nuclei, then run it against a target you control.
nuclei -id CVE-2026-50522 -u https://your-target
Template 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
epss-score: 0.8187
epss-percentile: 0.99657
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,vkev
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: 490a0046304402205a20a55d8c21c24cda06a4368d1e9cdc0bf4632cb4ecdcc7b65df5f343efe42a022012e712c2aea53a79d23d719ae33943ae3dc1026fb47b57d0be84d21b1bd05b35:922c64590222798bb761d5b6d8e72950