Skip to navigation

Threat reportVulnerabilityTL-2026-3777

CVE-2026-65660: Code Injection (ToolPane SafeControls Bypass) in Microsoft SharePoint Server Under Active Exploitation

criticalACTIVE

CVE-2026-65660 is a code injection flaw (CWE-94) in the ToolPane component of on-premises Microsoft SharePoint Server 2016, 2019 and Subscription Edition that lets a low-privileged authenticated user execute code over the network. A public technical write-up appeared on 2026-09-22, exploitation attempts were observed from 2026-09-24, and CISA added it to KEV on 2026-09-25. First disclosed .

Key facts

IdentifiersTL-2026-3777, CVE-2026-65660
SeverityCRITICAL
CVSS8.8 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
First disclosed
Exploitation statusLinked CVE exploited in the wild; Listed in CISA KEV: CVE-2026-65660 (added )
EPSSCVE-2026-65660: 2.1% (80.9th percentile)
Affected productsMicrosoft SharePoint Server Subscription Edition; Microsoft SharePoint Server 2019; Microsoft SharePoint Enterprise Server 2016
Weaknesses (CWE)CWE-94
MalwareSdLoader
MITRE ATT&CK techniquesT1027 Obfuscated Files or Information, T1078 Valid Accounts, T1140 Deobfuscate/Decode Files or Information, T1190 Exploit Public-Facing Application, T1505.003 Server Software Component: Web Shell, T1620 Reflective Code Loading
MotivationUNKNOWN
Target sectorsgovernment administration, technology, enterprise
Target regionsGlobal
Detection rules9 (1 shown free)
Sources11 cited sources

Detection coverage

As of 2026-10-16, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-3777 across Splunk SPL, Microsoft KQL and Sigma, covering 7 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: CVE-2026-65660 SharePoint ToolPane Gallery POST (Register Directive Injection) — Exploitation

Detects POST requests to the SharePoint ToolPane gallery endpoints /_layouts/15/AddGallery.aspx and /_layouts/15/designgallery.aspx carrying job=all&DisplayMode=Edit, the request shape used to exploit CVE-2026-65660 (CWE-94 SafeControls bypass via unescaped Register directive). Aggregates per source, flags unauthenticated requests (anonymous-delivery chain) and the known exploitation source 169.150.248.21. Legitimate edit-mode use of these pages is rare from internet sources, so a hit is a strong hunting lead.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1190, T1078
  • Data sources: iis:ms:iis:auto, W3CIISLog
  • Severity: critical
  • Confidence: high

Splunk SPL

index=iis sourcetype="ms:iis:auto" cs_method=POST (cs_uri_stem="/_layouts/15/AddGallery.aspx" OR cs_uri_stem="/_layouts/15/designgallery.aspx") cs_uri_query="*job=all*" cs_uri_query="*DisplayMode=Edit*"
| eval anonymous=if(isnull(cs_username) OR cs_username="-",1,0), known_ioc_src=if(c_ip="169.150.248.21",1,0)
| stats count as requests sum(anonymous) as anonymous_requests max(known_ioc_src) as known_ioc_src max(cs_bytes) as max_request_bytes dc(cs_uri_stem) as gallery_paths values(sc_status) as http_status values(cs_User_Agent) as user_agents min(_time) as first_seen max(_time) as last_seen by c_ip host
| convert ctime(first_seen) ctime(last_seen)
| sort 0 -known_ioc_src -anonymous_requests -requests

Microsoft KQL

W3CIISLog
| where TimeGenerated > ago(24h)
| where csMethod =~ "POST"
| where csUriStem in~ ("/_layouts/15/AddGallery.aspx", "/_layouts/15/designgallery.aspx")
| where csUriQuery has "job=all" and csUriQuery has "DisplayMode=Edit"
| extend Anonymous = iff(isempty(csUserName) or csUserName == "-", 1, 0), KnownIocSource = iff(cIP == "169.150.248.21", 1, 0)
| summarize Requests = count(), AnonymousRequests = sum(Anonymous), KnownIocSource = max(KnownIocSource), MaxRequestBytes = max(csBytes), GalleryPaths = dcount(csUriStem), HttpStatus = make_set(scStatus), UserAgents = make_set(csUserAgent), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated) by cIP, Computer
| order by KnownIocSource desc, AnonymousRequests desc, Requests desc

Sigma

title: CVE-2026-65660 SharePoint ToolPane Gallery POST in Edit Mode
id: 3f1c2a64-7b5e-4d0a-9c31-5a8e2f6b7d10
status: experimental
description: Detects POST requests to the SharePoint AddGallery.aspx and designgallery.aspx ToolPane endpoints with job=all and DisplayMode=Edit, used to exploit CVE-2026-65660 Register directive injection
references:
    - https://msrc.microsoft.com/csaf/advisories/2026/msrc_cve-2026-65660.json
    - https://cyber.gc.ca/en/alerts-advisories/al26-023-vulnerability-impacting-microsoft-sharepoint-server-cve-2026-65660
    - https://www.cisa.gov/known-exploited-vulnerabilities-catalog
author: Threadlinqs Team
date: 2026/10/16
tags:
    - attack.initial_access
    - attack.t1190
    - attack.t1078
    - cve.2026.65660
logsource:
    category: webserver
detection:
    selection:
        cs-method: 'POST'
        c-uri|endswith:
            - '/_layouts/15/AddGallery.aspx'
            - '/_layouts/15/designgallery.aspx'
        cs-uri-query|contains|all:
            - 'job=all'
            - 'DisplayMode=Edit'
    condition: selection
falsepositives:
    - SharePoint administrators editing gallery or web part settings via ToolPane from internal addresses
    - Authorised vulnerability scanners or red-team exercises
level: high

Known false positives:

  • Authorised SharePoint administrators editing galleries in Edit mode from corporate address space
  • Approved vulnerability scanners or penetration tests replaying the public PoC

Tuning notes: Exclude internal admin subnets and known scanner IPs via a lookup. Requires IIS W3C logging with cs-uri-query and cs-username enabled on every SharePoint WFE; adjust the index/sourcetype to your IIS ingestion (Splunk TA for Microsoft IIS). Alert at any count for internet-facing farms.

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)
  • CVE-2026-65660 Paired ToolPane Payload Pattern (7,834 / 535,404 bytes) and Known Source — Exploitation · unlock with TL Creds
  • CVE-2026-65660 SdLoader [indicator] or Unsigned DLL Loaded Into SharePoint w3wp.exe — Post-Exploitation · unlock with TL Creds
  • CVE-2026-65660 SharePoint w3wp.exe Outbound Connection to Public IP — C2 · unlock with TL Creds
  • CVE-2026-65660 ToolPane Request Body Contains MSOTlPn_DWP Register Directive Injection — Exploitation · unlock with TL Creds
  • CVE-2026-65660 Webshell sphealth.aspx or ASPX Written to SharePoint LAYOUTS by w3wp.exe — Persistence · unlock with TL Creds
  • CVE-2026-65660 SharePoint w3wp.exe Spawning LOLBINs for Tool Transfer — C2 · unlock with TL Creds
  • CVE-2026-65660 SharePoint w3wp.exe Spawning Shells or Recon Tools — Post-Exploitation · unlock with TL Creds
  • CVE-2026-65660 Webshell Access to [indicator] — C2 · unlock with TL Creds

Indicators of compromise

As of 2026-10-16, Threadlinqs Intelligence tracks 7 indicators of compromise for TL-2026-3777.

Sample indicators (1 of 7)

  • IP address: 169.150.248[.]21

Defanged, TLP:CLEAR. Full set of 7 indicators: unlock with TL Creds.

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

Technical analysis

CVE-2026-65660 stems from how SharePoint processes web parts. When the ToolPane component handles web-part markup, it reconstructs Register directives by writing attribute values between double quotes without escaping embedded quotes. An attacker can therefore inject additional directives after SafeControls validation has run and cause arbitrary .NET classes that were never approved by SafeControls to load. Public analysis describes using XamlServices.Parse() to reach deserialization-based code execution and to deploy an in-memory webshell that avoids file-based detection.

The flaw requires a valid low-privileged SharePoint account, no user interaction, and is network-reachable. Reporting states it chains with a separate anonymous-delivery/authentication-bypass weakness (patched 2026-06-09) to give pre-authentication remote code execution on servers configured to permit anonymous page access. Microsoft released fixes on 2026-08-11, the CVE was published 2026-08-13 as a medium-severity (6.5) spoofing issue, and it was reclassified as RCE with CVSS 8.8 (NVD) in September 2026. SharePoint Online is not listed as affected. SharePoint 2013 is reportedly also affected but has been unsupported since April 2023, and SharePoint 2016/2019 reached end of life on 2026-07-15 per the Canadian Cyber Centre.

The issue is credited to Dinh Ho Anh Khoa of Viettel Cyber Security, who previously demonstrated the ToolShell chain at Pwn2Own Berlin (May 2025). A full technical write-up was published 2026-09-22. Previdian, a threat-intelligence vendor running a SharePoint honeypot, recorded 12 requests from 169.150.248.21 on 2026-09-24 in a two-stage attempt, and webshell creation attempts on 2026-09-25. By 2026-09-28 it had tracked 16 attempts from two sources. The captured requests carried no authentication headers or cookies, consistent with the anonymous-delivery chain. They targeted /_layouts/15/AddGallery.aspx and /_layouts/15/designgallery.aspx with job=all&DisplayMode=Edit and the form fields MSOTlPn_Uri and MSOTlPn_DWP. Each path received a paired payload of 7,834 and 535,404 bytes using the ActivitySurrogateDisableTypeCheck and ActivitySurrogate gadgets. These embed an assembly loader named SdLoader (DLL wt3k3sij.dll) that uses AES decryption and Assembly.Load(byte[]) for in-memory execution, and a webshell was staged at /_layouts/15/sphealth.aspx.

Patching closes the vulnerability but does not remove webshells or persistence installed earlier. No threat actor attribution has been published and no universal IOC set exists, so webshell and ToolPane request telemetry should be treated as hunting leads rather than definitive proof of compromise.

MITRE ATT&CK techniques by tactic:

Defense Evasion

T1027 Obfuscated Files or Information; T1140 Deobfuscate/Decode Files or Information; T1620 Reflective Code Loading

Initial Access

T1078 Valid Accounts; T1190 Exploit Public-Facing Application

Persistence

T1505.003 Server Software Component: Web Shell

Remediation

Patches

  • SharePoint Server Subscription Edition: KB5002893, fixed build 16.0.19725.20522
  • SharePoint Server 2019: KB5002894 and KB5002896, fixed build 16.0.10417.20198
  • SharePoint Enterprise Server 2016: KB5002905 and KB5002906, fixed build 16.0.5565.1001

Immediate actions

  • Apply the 2026-08-11 SharePoint security update on every farm node and verify the fixed build per node, not only in Central Administration
  • Verify the 2026-06-09 security update (anonymous-delivery / authentication-bypass fix) is also installed
  • Preserve forensic evidence and hunt retrospectively for webshells (e.g. /_layouts/15/sphealth.aspx) and anomalous ToolPane requests before and after patching
  • Restrict or disable anonymous access to SharePoint sites and pages

Workarounds

  • Limit internet exposure via VPN or authenticated reverse proxy
  • Monitor w3wp.exe child processes, PowerShell execution and memory-resident activity
  • Monitor SharePoint, IIS, endpoint and authentication logs for web part modifications and authentication anomalies

Longer-term hardening

  • Avoid direct internet exposure of SharePoint; place a Layer 7 reverse proxy requiring authentication in front
  • Enable AMSI integration in Full Mode with full request-body scanning where feasible
  • Restrict Central Administration access, remove inactive accounts, enforce MFA for administrators
  • Review low-privilege account provisioning and permissions
  • Migrate off end-of-life SharePoint 2016/2019 to Subscription Edition

Affected and fixed versions

  • Microsoft — SharePoint Server Subscription Edition
    Vulnerable versions: < 16.0.19725.20522
    Fixed in: 16.0.19725.20522 (KB5002893)
  • Microsoft — SharePoint Server 2019
    Vulnerable versions: < 16.0.10417.20198
    Fixed in: 16.0.10417.20198 (KB5002894, KB5002896)
  • Microsoft — SharePoint Enterprise Server 2016
    Vulnerable versions: < 16.0.5565.1001
    Fixed in: 16.0.5565.1001 (KB5002905, KB5002906)

Timeline

  • Microsoft patches the separate anonymous-delivery / authentication-bypass weakness that is later chained with CVE-2026-65660 for pre-auth RCE
  • Microsoft releases security updates for SharePoint 2016, 2019 and Subscription Edition; vulnerable function disabled by default
  • CVE-2026-65660 published, initially rated CVSS 6.5 as a medium-severity spoofing vulnerability
  • CVE record updated to reflect code execution; NVD scores it CVSS 8.8 (CWE-94). Another source dates the RCE reclassification to 2026-08-27
  • Full technical write-up / proof of concept published by Viettel Cyber Security researcher Dinh Ho Anh Khoa
  • Previdian honeypot records 12 requests from locked-ioc-2 in a two-stage exploitation attempt; Canadian Cyber Centre issues alert AL26-023
  • CISA adds CVE-2026-65660 to the KEV catalog; webshell creation attempts observed; Microsoft confirms exploitation
  • CISA BOD 26-04 federal remediation deadline; Previdian reports 16 attempts from two sources by this date
  • Cronup publishes coverage of the actively exploited flaw, reiterating that patching does not remove installed webshells

Sources cited

Other reports on CVE-2026-65660

Previous and next in vulnerability

Drafted by the Threadlinqs research pipeline from 11 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