Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid SQL Server credentials
-
DeliveryConnect to target SQL Server over network
-
ExploitIdentify operations not captured by audit log
-
ExecutionExecute sensitive queries or actions
-
PersistAccess high-confidentiality data without audit record
-
ImpactExfiltrate data undetected
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A09:2025 - Security Logging & Alerting Failures
ASVS 5.0
V16 - Security Logging and Error Handling Sufficient logging implementation
|
| Exploitation Conditions | Exploitation requires a valid SQL Server login with at least low-level database access (PR:L per the CVSS vector) on an affected SQL Server 2022 or 2025 instance reachable over the network. The attack requires no user interaction from any victim. The specific SQL operations or audit event categories that trigger the logging gap are not disclosed in available public data, meaning successful exploitation may require insider knowledge or trial-and-error enumeration of unlogged events. Exploitation is bounded by the authentication requirement - unauthenticated remote attackers cannot exploit this without first obtaining SQL Server credentials. Environments that do not use SQL Server Audit at all are not made worse by this flaw, but they also lack audit visibility regardless. |
| Impact | The CVSS 6.5 Medium score accurately reflects the constrained threat model: exploitation requires prior authentication (PR:L), which limits opportunistic mass exploitation. Nevertheless, the C:H impact signal is significant - the logging gap enables high-confidentiality data to be accessed or sensitive operations to be performed outside the audit record, which is precisely the control defenders rely on for insider-threat detection and compliance enforcement. The network vector (AV:N) and lack of user-interaction requirement (UI:N) mean any valid database user can exploit this remotely, making the insider-threat and compromised-credential scenarios realistic. No EPSS data or CISA KEV listing is provided, and no public proof-of-concept has been identified, which moderates immediate urgency. The 'Authentication Bypass' metadata tag mischaracterizes the vulnerability - the bypass is of an audit/logging security feature (CWE-778), not of the authentication mechanism itself. Database teams running SQL Server in regulated environments (PCI-DSS, HIPAA, SOC 2) should prioritize this patch, as the flaw undermines audit integrity controls that compliance frameworks depend on. |
| Exploit ScenarioDerived | A low-privilege SQL Server user authenticates over the network to an unpatched SQL Server 2022 or 2025 instance and executes queries against sensitive tables or performs actions that would normally trigger audit log entries. Because the logging flaw causes those events to be silently dropped, the attacker exfiltrates data (C:H) without any corresponding audit record being written to the SQL Server Audit target. No public POC exists, so the attacker must have knowledge of or discover which specific operations are not logged. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 08, 2026
Insufficient audit logging in Microsoft SQL Server 2022 and 2025 allows a low-privileged authenticated attacker to bypass a security control over the network, resulting in high-confidentiality data access without a corresponding audit trail. Affected versions span both the GDR and Cumulative Update branches of SQL Server 2022 (pre-16.0.4275.2 / pre-16.0.1200.5) and SQL Server 2025 (pre-17.0.4085.5 / pre-17.0.1135.8). No public exploit has been identified at time of analysis, and Microsoft has released patches across all affected servicing branches.
RemediationAI
Microsoft has released patches across all affected servicing branches. For SQL Server 2022, upgrade to CU26 build 16.0.4275.2 or later, or apply the GDR update to 16.0.1200.5 or later. For SQL Server 2025, upgrade to CU8 build 17.0.4085.5 or later, or apply the GDR update to 17.0.1135.8 or later. Consult the Microsoft Security Update Guide at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-66816 for servicing branch guidance and installer downloads. As a compensating control while patches are staged, restrict low-privilege SQL Server accounts to the minimum required permissions and supplement SQL Server's native audit with network-level SQL traffic capture (e.g., Extended Events session targeting the wire, or a SIEM with SQL deep-packet inspection) - note that this does not close the logging gap but provides an external audit layer. Review existing SQL Server Audit specifications for missing event categories.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 4 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-778 (Insufficient Logging), meaning SQL Server's audit subsystem fails to record certain security-relevant operations. SQL Server Audit is a compliance and forensic mechanism that captures events such as privileged data access, permission changes, and login activity to on-disk or Windows Event Log targets. When specific operations are not captured, an attacker with low-privilege credentials can perform those operations without generating audit records, effectively bypassing the monitoring control. The CVSS vector AV:N/AC:L/PR:L/UI:N reflects that the flaw is reachable over the network by any authenticated SQL Server user with no additional complexity or victim interaction. Affected CPE data from EUVD covers SQL Server 2022 (16.0.x GDR and CU26 branch) and SQL Server 2025 (17.0.x GDR and CU8 branch).
Know when Sql Server 2022 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Network-reachable exploit requiring authenticated low-privilege SQL Server access; impact is confidentiality-only as logging failure enables undetected data access without integrity or availability consequence.
Primary rating from Vendor (microsoft).
CVSS VectorVendor: microsoft
Lifecycle Timeline
2DescriptionCVE.org
Insufficient logging in SQL Server allows an authorized attacker to bypass a security feature over a network.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
More in Sql Server 2022
View allSQL Server 2016-2025 contains an improper access control flaw that allows authenticated network attackers to escalate pr
Heap-based buffer overflow in the Microsoft SQL Server engine (SQL Server 2022 and SQL Server 2025 on x64) can let an at
Heap-based buffer overflow in Microsoft SQL Server 2017, 2019, 2022, and 2025 (x64) can be triggered over the network an
Out-of-bounds read in Microsoft SQL Server 2019, 2022, and 2025 on x64 can, under specific memory conditions, be steered
Code execution is possible in Microsoft SQL Server 2019, 2022, and 2025 (x64) through an untrusted pointer dereference i
Microsoft SQL Server Elevation of Privilege Vulnerability. Rated critical severity (CVSS 9.8), this vulnerability is rem
Microsoft SQL Server Elevation of Privilege Vulnerability. Rated critical severity (CVSS 9.8), this vulnerability is rem
Remote code execution in Microsoft SQL Server 2019, 2022, and 2025 is achievable by an authenticated low-privilege attac
Heap-based buffer overflow in Microsoft SQL Server 2022 enables an authenticated low-privileged network attacker to exec
SQL injection in Microsoft SQL Server enables a low-privileged authenticated attacker to escalate database privileges ov
Privilege escalation in Microsoft SQL Server 2017 through 2025 allows any low-privileged authenticated database user to
Heap-based buffer overflow in Microsoft SQL Server 2017 through 2025 enables an authenticated low-privilege network atta
EUVD-2026-73376
GHSA-c9p4-3ww6-v9gp
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB