CVE-2025-47954 Microsoft SQL Server Elevation of Privilege Vulnerability
An authorized attacker can exploit SQL injection in Microsoft SQL Server to elevate privileges over the network.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-47954?
CVE-2025-47954 is a high-severity SQL injection vulnerability in Microsoft Sql Server 2022, published on 12 Aug 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Improper neutralization of special elements used in an sql command ('sql injection') in SQL Server allows an authorized attacker to elevate privileges over a network.
Weakness: CWE-89
Which versions are affected by CVE-2025-47954?
It affects 1 product.
Products include Microsoft Sql Server 2022.
How do I fix CVE-2025-47954?
No fix has been published for CVE-2025-47954 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2025-47954 being exploited?
There is no known exploitation of CVE-2025-47954 in the wild and no public exploit code.
Other vulnerabilities in Microsoft Sql Server 2022
- CVE-2026-67643 Microsoft SQL Server Remote Code Execution Vulnerability
- CVE-2026-78456 SQL Server Remote Code Execution Vulnerability
- CVE-2026-20803 Microsoft SQL Server Elevation of Privilege Vulnerability
- CVE-2026-66816 Microsoft SQL Server Security Feature Bypass Vulnerability
- CVE-2026-67389 Microsoft SQL Server Information Disclosure Vulnerability
Sources
Also known as GHSA-x4cr-27fg-rx32.