CVE-2025-55227
published 2025-09-09CVE-2025-55227: Improper neutralization of special elements used in a command ('command injection') in SQL Server allows an authorized attacker to elevate privileges over a…
PriorityP263high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EPSS
1.25%
66.3th percentile
Improper neutralization of special elements used in a command ('command injection') in SQL Server allows an authorized attacker to elevate privileges over a network.
Affected
21 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| microsoft | microsoft_sql_server_2016_service_pack_3 | >= 13.0.0 < 13.0.6470.1 | 13.0.6470.1 |
| microsoft | microsoft_sql_server_2016_service_pack_3_azure_connect_feature_pack | >= 13.0.0 < 13.0.7065.1 | 13.0.7065.1 |
| microsoft | microsoft_sql_server_2017 | >= 14.0.0 < 14.0.3505.1 | 14.0.3505.1 |
| microsoft | microsoft_sql_server_2017 | >= 14.0.0 < 14.0.2085.1 | 14.0.2085.1 |
| microsoft | microsoft_sql_server_2019 | >= 15.0.0 < 15.0.2145.1 | 15.0.2145.1 |
| microsoft | microsoft_sql_server_2019 | >= 15.0.0.0 < 15.0.4445.1 | 15.0.4445.1 |
| microsoft | microsoft_sql_server_2022 | >= 16.0.0 < 16.0.1150.1 | 16.0.1150.1 |
| microsoft | microsoft_sql_server_2022 | >= 16.0.0.0 < 16.0.4212.1 | 16.0.4212.1 |
| microsoft | sql_server_2016 | >= 13.0.6300.2 < 13.0.6470.1 | 13.0.6470.1 |
| microsoft | sql_server_2016 | >= 13.0.7000.253 < 13.0.7065.1 | 13.0.7065.1 |
| microsoft | sql_server_2017 | >= 14.0.1000.169 < 14.0.2085.1 | 14.0.2085.1 |
| microsoft | sql_server_2017 | >= 14.0.3006.16 < 14.0.3505.1 | 14.0.3505.1 |
| microsoft | sql_server_2019 | >= 15.0.2000.5 < 15.0.2145.1 | 15.0.2145.1 |
| microsoft | sql_server_2019 | >= 15.0.4003.23 < 15.0.4445.1 | 15.0.4445.1 |
| microsoft | sql_server_2022 | >= 16.0.1000.6 < 16.0.1150.1 | 16.0.1150.1 |
| microsoft | sql_server_2022 | >= 16.0.4003.1 < 16.0.4212.1 | 16.0.4212.1 |
| msrc | microsoft_sql_server_2016_for_x64-based_systems_service_pack_3 | — | — |
| msrc | microsoft_sql_server_2016_for_x64-based_systems_service_pack_3_azure_connect_fea | — | — |
| msrc | microsoft_sql_server_2017_for_x64-based_systems | — | — |
| msrc | microsoft_sql_server_2019_for_x64-based_systems | — | — |
| msrc | microsoft_sql_server_2022_for_x64-based_systems | — | — |
Detection & IOCsextracted from sources · hover to see the quote
- →The attack vector is SQL code injection at table creation time, executed with elevated privileges over a network by an authorized (authenticated) attacker. ↗
- →Successful exploitation results in sysadmin privilege escalation within SQL Server — monitor for unexpected sysadmin role assignments or privilege changes following DDL (CREATE TABLE) operations. ↗
- ·Exploitation requires an already-authorized (authenticated) network attacker — this is not an unauthenticated/anonymous attack surface. ↗
- ·As of advisory publication, the vulnerability has not been publicly disclosed or exploited in the wild (Exploitation Less Likely rating). ↗
- ·Both GDR and CU patch tracks are available per SQL Server version/baseline; once a CU update is applied there is no way to revert to the GDR update path. ↗
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vendor_msrc8.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-8mmr-rphh-45c7: Improper neutralization of special elements used in a command ('command injection') in SQL Server allows an authorized attacker to elevate privileges
ghsa_unreviewed·2025-09-09
CVE-2025-55227 [HIGH] CWE-77 GHSA-8mmr-rphh-45c7: Improper neutralization of special elements used in a command ('command injection') in SQL Server allows an authorized attacker to elevate privileges
Improper neutralization of special elements used in a command ('command injection') in SQL Server allows an authorized attacker to elevate privileges over a network.
Microsoft
Microsoft SQL Server Elevation of Privilege Vulnerability
vendor_msrc·2025-09-09·CVSS 8.8
CVE-2025-55227 [HIGH] CWE-77 Microsoft SQL Server Elevation of Privilege Vulnerability
Microsoft SQL Server Elevation of Privilege Vulnerability
Description: Improper neutralization of special elements used in a command ('command injection') in SQL Server allows an authorized attacker to elevate privileges over a network.
FAQ: How could an attacker exploit the vulnerability?
An authorized attacker could inject SQL code and run it with elevated privileges at table creation.
FAQ: What privileges could be gained by an attacker who successfully exploited the vulnerability?
An attacker who successfully exploited this vulnerability could gain sysadmin privileges.
FAQ: I am running SQL Server on my system. What action do I need to take?
Update your relevant version of SQL Server. Any applicable driver fixes are included in those updates.
There are GDR and/or CU (Cumulative Upda
No detection rules found.
No public exploits indexed.
2025-09-09
Published