CVE-2019-1068 – Critical Remote Code Execution in Microsoft SQL Server

Key takeaways

  • CVE-2019-1068 is a Critical (CVSS v3.1 8.8) remote code execution flaw in Microsoft SQL Server.
  • Listed in the CISA KEV catalog with confirmed active exploitation.
  • Affects SQL Server 2014 (SP2/SP3), 2016, and 2017 editions; attackers can run arbitrary code under the service account.
  • Immediate action: apply the vendor patch and enforce network segmentation for exposed instances.

Overview

CVE-2019-1068 is a Microsoft SQL Server Remote Code Execution Vulnerability caused by improper handling of internal functions. An authenticated attacker with low privileges can send specially crafted requests to the SQL Server Database Engine, leading to arbitrary code execution in the context of the service account. The vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2026-08-26 after evidence of active exploitation emerged.


Technical details

  • Attack vector: Network (AV:N)
  • Attack complexity: Low (AC:L)
  • Privileges required: Low (PR:L)
  • User interaction: None (UI:N)
  • Scope: Unchanged (S:U)
  • Impact: High confidentiality, integrity, and availability (C:H/I:H/A:H)

The flaw resides in the SQL Server Database Engine’s processing of certain internal functions. By manipulating these calls, an attacker can inject and execute arbitrary code. Proof‑of‑concept code has been publicly available for years, yet unpatched systems remain targeted.


Severity & impact

With a CVSS v3.1 base score of 8.8 (High), the vulnerability permits full compromise of the affected SQL Server instance. Successful exploitation can lead to data theft, modification, or destruction, and can serve as a pivot point for further network intrusion. Because the exploit requires only low‑privileged credentials, any exposed SQL Server with weak authentication is at risk.


Affected products

Microsoft products affected include:

  • SQL Server 2014 (SP2 and SP3)
  • SQL Server 2016 (all editions)
  • SQL Server 2017 (all editions)

For the complete list of affected versions and editions, see the CVE page.


Actionable insights / What to do

  • Prioritize patching any SQL Server instance that is internet‑facing or hosts sensitive data.
  • Review service account permissions; ensure the SQL Server service runs with the least privileges necessary.
  • Monitor for anomalous activity such as unexpected stored procedure execution, privilege escalation attempts, or outbound connections from the SQL Server host.
  • Leverage the KEV designation to justify urgent patching cycles in vulnerability management programs.

Remediation & Mitigation

  1. Apply the official Microsoft patch released for CVE-2019-1068 (see References).
  2. If immediate patching is not possible, restrict network access to the SQL Server port (default 1433) using firewalls, allowing only trusted hosts.
  3. Enable SQL Server authentication monitoring and audit login attempts for unusual patterns.
  4. Consider disabling or limiting the use of affected internal functions via custom security policies if applicable.
  5. After patching, verify the patch level via SELECT @@VERSION; or the appropriate build number check.

References

For key indicators, exploit activity over time, and detailed signal data, see the CVE page.


#CVE #Critical #RCE #CISAKEV #MicrosoftSQLServer #PatchNow