CVE-2026-21262: Microsoft SQL Server Authenticated Privilege Escalation to sysadmin
- Vendor
- Microsoft Corporation
CVE-2026-21262 is an improper access-control vulnerability affecting Microsoft SQL Server 2016 through 2025. An authenticated attacker with low-privileged database access can exploit the flaw over a network to exceed assigned permissions and obtain the SQL Server sysadmin role without user interaction. Microsoft classified the vulnerability as Important with a CVSS v3.1 score of 8.8. It was publicly disclosed before the March 2026 security updates; the specific vulnerable function and exploitation mechanism are not established.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation compromises the SQL Server instance's confidentiality, integrity, and availability by granting unrestricted database administrative privileges. An attacker could access sensitive records, modify or delete data, change accounts and permissions, and disrupt database-backed applications. Access to stored application configuration or integration credentials could facilitate further compromise of connected systems, depending on the deployment.
Mitigation
If you can’t patch tonight, do this now.
Until patching is complete, restrict SQL Server network access to trusted clients and administrative networks, review database accounts and application credentials, and remove unnecessary access. Monitor for unexpected sysadmin membership, permission changes, and anomalous queries. Rotate potentially exposed credentials and investigate unauthorized account changes where compromise is suspected. These measures reduce exposure but do not correct the access-control flaw.
Remediation
Patch, then assume compromise.
Apply Microsoft's March 2026 SQL Server security updates, or superseding updates, matching the installed version and CU/GDR servicing branch. Listed fixes include KB5077473 and KB5077474 for SQL Server 2016; KB5077471 and KB5077472 for 2017; KB5077469 and KB5077470 for 2019; KB5077464 and KB5077465 for 2022; and KB5077466 and KB5077468 for 2025. Verify that the corrected build is installed on every affected instance. Upgrade unsupported installations to supported releases that receive security updates.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2026-21262 exploited in the wild?
- Yes. As of Oct 27, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2026-21262?
- As of Oct 27, 2026, Mallory has found no public exploit for CVE-2026-21262.
- Is there a patch for CVE-2026-21262?
- Apply Microsoft's March 2026 SQL Server security updates, or superseding updates, matching the installed version and CU/GDR servicing branch. Listed fixes include KB5077473 and KB5077474 for SQL Server 2016; KB5077471 and KB5077472 for 2017; KB5077469 and KB5077470 for 2019; KB5077464 and KB5077465 for 2022; and KB5077466 and KB5077468 for 2025.
- What products are affected by CVE-2026-21262?
- Microsoft Corporation Sql Server 2016, Microsoft Corporation Sql Server 2017, Microsoft Corporation Sql Server 2019, Microsoft Corporation Sql Server 2022, and Microsoft Corporation Sql Server 2025.
- How severe is CVE-2026-21262?
- CVE-2026-21262 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 1.7% (77th percentile) as of Oct 27, 2026.
Recent activity
73 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.