Vulnerability record · CVE-2019-1068 · published 15 July 2019
CVE-2019-1068: Microsoft SQL Server improper input validation remote code execution
Microsoft · Sql Server
Microsoft SQL Server mishandles processing of internal functions, allowing an authenticated remote attacker to execute code on the database server. The flaw affects SQL Server 2016 and 2017 and carries a CVSS 3.1 base score of 8.8, so a compromised or low-privilege database account can escalate to full server compromise.
Description
A remote code execution vulnerability exists in Microsoft SQL Server when it incorrectly handles processing of internal functions, aka 'Microsoft SQL Server Remote Code Execution Vulnerability'.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Automated analysis
high priorityThe flaw is remotely reachable, rated 8.8, listed in CISA KEV with a near-term remediation due date, and has a high EPSS score, though it requires valid credentials.
What it is
Microsoft SQL Server mishandles processing of internal functions, allowing an authenticated remote attacker to execute code on the database server. The flaw affects SQL Server 2016 and 2017 and carries a CVSS 3.1 base score of 8.8, so a compromised or low-privilege database account can escalate to full server compromise.
Impact
An attacker with valid credentials gains code execution in the context of the SQL Server service, leading to full loss of confidentiality, integrity and availability on the host. This can enable data theft, tampering and use of the server as a foothold for lateral movement.
Attack surface
Reachable over the network via the SQL Server service (AV:N, AC:L) with low privileges required (PR:L) and no user interaction (UI:N). Any account able to authenticate to the instance, including a low-privilege login, is sufficient to attempt exploitation.
Exploitation
CVE-2019-1068 is listed in CISA's Known Exploited Vulnerabilities catalog, indicating exploitation in the wild, and EPSS gives a 30-day probability of 0.528 (98.9th percentile). No ransomware campaign use is documented in the record.
What to do
- Apply the Microsoft security update for CVE-2019-1068 to all affected SQL Server 2016 and 2017 instances, prioritizing internet-facing systems per CISA BOD 26-04.
- Restrict network access to SQL Server ports (default 1433) to trusted hosts and remove direct internet exposure where possible.
- Audit and reduce SQL logins, removing unnecessary accounts and enforcing least privilege so low-privilege users cannot reach vulnerable functionality.
- If patching cannot be completed by the CISA due date, discontinue use of the affected product or apply the vendor-recommended mitigations.
- Monitor for and investigate unexpected code execution or process creation originating from the SQL Server service account.
Detection
- Alert on unusual child processes spawned by sqlservr.exe, which may indicate code execution via the database engine.
- Review SQL Server error logs and Windows event logs for anomalous internal function calls or crashes around the time of suspected exploitation.
- Monitor authentication logs for logins from unexpected hosts or accounts, especially low-privilege logins followed by privileged operations.
- Track network connections to SQL Server ports from untrusted or external sources.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Exploitation in the wild
CISA added CVE-2019-1068 to the Known Exploited Vulnerabilities catalog on 26 August 2026 as "Microsoft SQL Server Remote Code Execution Vulnerability". Required action: Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines. Federal deadline 29 August 2026.
Affected products
3 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2019-1068 | PatchVendor Advisory |
| https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2019-1068 | PatchVendor Advisory |
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-1068 | US Government Resource |
Track CVE-2019-1068 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2019-1068), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.