Privilege escalation in Microsoft SQL Server

Published: 2021-01-12
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE ID CVE-2021-1636
Exploitation vector Network
Public exploit N/A
Vulnerable software
Microsoft SQL Server
Server applications / Database software

Vendor Microsoft

Security Advisory

This security advisory describes one medium risk vulnerability.

1) Input validation error

Risk: Medium

CVSSv3: 7.7 [CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C] [PCI]

CVE-ID: CVE-2021-1636

CWE-ID: CWE-20 - Improper Input Validation

Exploit availability: No


The vulnerability allows a remote user to escalate privileges on the system.

The vulnerability exists due to insufficient validation of user-supplied input, when the affected SQL Server is configured to run an Extended Event session. A remote user can send specially crafted data to the server and execute arbitrary code with elevated privileges.


Install updates from vendor's website.

Vulnerable software versions

Microsoft SQL Server: 2012, 2014 Service Pack 3, 2016, 2017, 2019

CPE External links

Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

How the attacker can exploit this vulnerability?

The attacker would have to send a specially crafted request to the affected application in order to exploit this vulnerability.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.