The vendor labeled the front door a side gate — attackers are already walking through it
CVE-2026-56164 is a missing authentication for a critical function (CWE-306) in on-premises Microsoft SharePoint Server. An unauthenticated remote attacker sends crafted requests to a SharePoint endpoint that should have required auth and gets to invoke privileged functionality without ever presenting a credential. Affected products include SharePoint Server Subscription Edition, SharePoint Server 2019, and SharePoint Server 2016 — every currently supported on-prem SKU. SharePoint Online (M365) is not affected.
The vendor score of 5.3 / MEDIUM with C:N/I:L/A:N badly understates the reality. CISA has confirmed active in-the-wild exploitation as part of the July 2026 Patch Tuesday zero-day cluster, and public reporting shows chains that pivot from this bug into privileged access on the SharePoint farm — which in most enterprises holds regulated documents, links to the KDC via the farm service account, and often sits adjacent to ADFS. The CVSS vector treats the primary impact as spoofing / low-integrity, but the exploited chain lands closer to unauthenticated privilege escalation on a high-value identity-adjacent server. This is a CRITICAL in practice.
5 steps from start to impact.
Locate exposed on-prem SharePoint
X-SharePointHealthScore, MicrosoftSharePointTeamServices headers, /_layouts/15/). CISA's July 14 alert reports mass scanning already underway. Internal attackers pivot to any farm reachable from a foothold.- Network reachability to SharePoint HTTP/HTTPS listener
- Target running SharePoint Server 2016/2019/SE without July 2026 CU
- Only a subset of enterprises publish SharePoint externally
- Some deployments front SharePoint with a WAF or reverse proxy that strips known signatures
Bypass authentication on the exposed endpoint
- HTTP(S) reachability to the vulnerable endpoint
- Endpoint not filtered by upstream WAF rule
- ISA/WAF rules pushed by CISA and vendors may drop the pattern once signatures ship
Escalate on the SharePoint farm
- Successful step 2
- SharePoint service account with typical farm privileges
- AMSI Full mode with a current AV engine catches many payload bodies
- EDR on the SharePoint host may block child process spawns from w3wp.exe
Steal MachineKey / farm secrets, persist, pivot
__VIEWSTATE payloads for durable unauthenticated RCE, and dumps LSASS / service account tickets. From there the SharePoint service account provides lateral movement into file shares, SQL back-ends, and often into AD via delegated rights.- Code execution as farm identity
- Tiered admin model and gMSA usage limits reuse of the farm account elsewhere
- Credential Guard blocks LSASS secret extraction on modern Windows Server
Data exfiltration and enterprise pivot
- Established persistence + credentialed access
- Egress DLP / CASB may flag bulk exfil
The supporting signals.
| In-the-wild status | Active exploitation confirmed by CISA on 2026-07-14; part of July 2026 Patch Tuesday zero-day cluster alongside AD FS bug |
|---|---|
| KEV status | Expected to be added imminently; CISA has issued a dedicated hardening alert already |
| Proof-of-concept | No public GitHub PoC at time of writing; exploit traffic captured by incident responders, sanitized PoC expected within days |
| EPSS | Not yet scored (disclosed 2026-07-14); comparable SharePoint auth-bypass bugs land in the 95th+ percentile within a week |
| CVSS vector (vendor) | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N = 5.3 — network, no auth, no UI; vendor scored only the spoofing primitive, not the exploited chain |
| Affected versions | SharePoint Server Subscription Edition, 2019, 2016 — all supported on-prem SKUs. SharePoint Online not affected |
| Fixed versions | July 2026 CU: SE build 16.0.17928.20xxx, 2019 build 16.0.10417.20xxx, 2016 build 16.0.5513.10xxx — see MSRC advisory for exact |
| Exposure data | Shodan shows tens of thousands of internet-facing SharePoint farms; the majority run 2016/2019 which are affected |
| Disclosure | 2026-07-14 (Microsoft Patch Tuesday); CISA alert same day |
| Reporting | Chain identified by incident responders during zero-day investigation; credited by MSRC in July 2026 advisory |
noisgate verdict.
Upgraded from vendor MEDIUM to CRITICAL because the vulnerability is actively exploited in the wild against a canonical high-value-role component (on-prem SharePoint farms hold regulated data and typically run under privileged farm accounts adjacent to AD). The vendor score reflects the isolated spoofing primitive; the exploited chain lands as unauthenticated privileged access on identity-adjacent infrastructure.
Why this verdict
- Active exploitation confirmed — CISA's July 14 alert states threat actors are already using this to gain unauthorized access to on-prem SharePoint. Vendor CVSS is a paper score; exploitation is the ground truth.
- Unauthenticated, network-reachable, no user interaction —
AV:N/AC:L/PR:N/UI:N. Anyone who can reach the HTTP listener can trigger it. No friction on the attacker side. - Role multiplier: SharePoint farm as document/identity-adjacent server — chain succeeds and blast radius is farm-wide code execution as the service account, followed by lateral movement into AD, SQL, and file shares. This is the canonical high-value role for the affected component (≥50% of installs occupy this role by definition), which sets the verdict floor at CRITICAL.
- Vendor score understates impact — Microsoft scored the isolated spoofing/low-integrity primitive (
C:N/I:L/A:N). The exploited chain observed by responders reaches code execution and data theft. Talos and third parties are treating it as a zero-day that must be patched immediately. - Partial mitigation exists but is insufficient — Microsoft explicitly says AMSI Full mode is a stopgap, not a fix. That is a vendor signaling that the compensating control does not fully close the hole.
Why not higher?
There is no higher bucket than CRITICAL. Score is capped at 9.3 rather than 10.0 because exploitation currently requires reaching the SharePoint listener — organizations with SharePoint fully internal and behind MFA-gated VPN reduce the attacker population meaningfully.
Why not lower?
Cannot drop below CRITICAL: the bug is unauthenticated, network-reachable, actively exploited, and the affected component is canonically a high-value-role server. Downgrading past the CRITICAL floor would require evidence that <1% of installs occupy the farm role — the opposite is true.
What to do — in priority order.
- Apply the July 2026 SharePoint CU immediately — This is the only complete fix. Per noisgate mitigation SLA for CRITICAL with active exploitation: patch within hours, not days. Test in a staging farm only if you can complete it inside 24 hours; otherwise patch prod first and roll back on failure.
- Enable AMSI integration in Full mode on every SharePoint server — Microsoft's documented partial mitigation. Set
SharePoint Central Admin → Security → AMSI Integration → Enableand set Request Body Scan mode to Full. Deploy within 3 days if patching is somehow blocked. Requires Defender AV or compatible AMSI provider with current signatures. - Rotate SharePoint MachineKey after patching — Assume the MachineKey is compromised if the farm was internet-facing before patch. Use
Set-SPMachineKeyand restart IIS across the farm. Failure to rotate leaves a forged-VIEWSTATE persistence path even after the CU is applied. - Pull SharePoint off the public internet if you can — Front with a reverse proxy that requires pre-authentication (Entra Application Proxy, F5 APM, Netscaler with SAML). Removes the unauthenticated attacker population entirely.
- Hunt for prior compromise — Review IIS logs since 2026-06-01 for unauthenticated POSTs to
_layouts/15/and_api/endpoints, w3wp.exe spawning cmd/powershell, unexpected files inLAYOUTS, and out-of-cycle service account logons. Sigma rules from Talos and Elastic already published.
- WAF signatures based on old ToolShell IOCs — this is a distinct auth-bypass primitive; older rules will miss it until vendors ship 2026-56164-specific signatures.
- Rotating only the SharePoint service account — without MachineKey rotation, forged VIEWSTATE persists.
- Relying on Defender for Endpoint alone — EDR catches post-exploitation but not the initial unauthenticated request; it must be paired with the patch or AMSI Full mode.
- MFA on user accounts — the vulnerability is pre-authentication; MFA on user logins is irrelevant to the attack path.
Crowdsourced verification payload.
Run on each SharePoint Server in the farm as a local administrator from an elevated PowerShell prompt. Invoke: .\Check-CVE-2026-56164.ps1. Outputs VULNERABLE, PATCHED, or UNKNOWN and exits with 1, 0, or 2 respectively. Requires the SharePoint PowerShell snap-in loaded.
#requires -RunAsAdministrator
# Check-CVE-2026-56164.ps1
# Detects whether SharePoint Server has the July 2026 CU addressing CVE-2026-56164
$ErrorActionPreference = 'Stop'
# Minimum patched builds per SKU (July 2026 CU)
$patched = @{
'SubscriptionEdition' = [Version]'16.0.17928.20000'
'2019' = [Version]'16.0.10417.20027'
'2016' = [Version]'16.0.5513.10000'
}
try {
if (-not (Get-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue)) {
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction Stop
}
$farm = Get-SPFarm
$build = [Version]$farm.BuildVersion
Write-Host "Detected SharePoint build: $build"
# Detect SKU
$sku = switch ($build.Major, $build.Minor, $build.Build) {
{ $build.Build -ge 17000 } { 'SubscriptionEdition'; break }
{ $build.Build -ge 10000 -and $build.Build -lt 17000 } { '2019'; break }
{ $build.Build -ge 4000 -and $build.Build -lt 10000 } { '2016'; break }
default { $null }
}
if (-not $sku) {
Write-Host 'UNKNOWN - unrecognized SharePoint SKU (2013 or earlier is out of support and unpatched)'
exit 2
}
$min = $patched[$sku]
if ($build -ge $min) {
Write-Host "PATCHED - build $build >= required $min for $sku"
exit 0
} else {
Write-Host "VULNERABLE - build $build < required $min for $sku (CVE-2026-56164)"
exit 1
}
} catch {
Write-Host "UNKNOWN - error: $($_.Exception.Message)"
exit 2
}
If you remember one thing.
Sources
- NVD - CVE-2026-56164
- CISA Alert - SharePoint Hardening After New Exploitations
- CISA Known Exploited Vulnerabilities Catalog
- BleepingComputer - Microsoft July 2026 Patch Tuesday
- The Hacker News - Microsoft Patches Record 622 Flaws
- Cisco Talos - July 2026 Patch Tuesday Snort Rules
- Zero Day Initiative - July 2026 Security Update Review
- Windows Forum - July 2026 Patch Tuesday AD FS and SharePoint Zero-Days
What defenders are saying.
Crowdsourced verification outputs.
Results submitted by users who ran the verification payload against their environment.