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

2026-11-29 PoC Public

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.

Details

CVE
CVE-2026-50522 · CVE.org
Severity
高危
Published
PoC
Public

PoC

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.21638
    epss-percentile: 0.98153
    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: 490a0046304402200749b50f3deab1a4b8606574da429e009d381206816fe6479340a57d0f66c61b0220711d83dddaf9d05abf184056fdbfe99fe5fc71292badfa8459972562bfb0c2e9:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

微信搜一搜 biu.life