CVE-2026-118116: Improper neutralization of special elements used in an sql command ('sql injection') in SQL Server allows an a HIGH 7.0 WATCHLIST UPGRADE UPGRADE UPGRADE
CVE-2026-118116 is a high-severity flaw (CVSS 7.0) affecting sql server 2017, sql server 2019, sql server 2022. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Improper neutralization of special elements used in an sql command ('sql injection') in SQL Server allows an authorized attacker to elevate privileges locally.
Why this priority High severity On your watchlist A fixed release or distro patch exists.
Risk facts CVSS score 7.0 (High) Attack vector Local Attack complexity High Privileges needed Low User interaction None EPSS exploit chance 1.9% (top 19%) CISA exploited list No Weakness CWE-89 Published 2026-11-10 Last modified 2026-12-01
Share: LinkedIn · X · Reddit
Last updated 2026-12-01 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Timeline 2026-11-10 19:19 UTC Published CVE record published2026-12-01 23:54 UTC Updated Record last modifiedmicrosoft sql server 2017 UPGRADE
Affected: >= 14.0.1000.169 and < 14.0.2150.2 · >= 14.0.3006.16 and < 14.0.3570.2
Fixed in: 14.0.2150.2, 14.0.3570.2
Safe to downgrade to: a release before 14.0.1000.169
1. Check installed version
Copy apt-cache policy sql-server-2017 || rpm -q sql-server-2017 || sql-server-2017 --version
2. UPGRADE to 14.0.2150.2 (Debian / Ubuntu)
Copy sudo apt update && sudo apt install --only-upgrade sql-server-2017
2. UPGRADE (RHEL / Amazon Linux / Fedora)
Copy sudo dnf upgrade sql-server-2017
Note
Copy Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 14.0.1000.169 (Debian / Ubuntu)
Copy apt-cache madison sql-server-2017
sudo apt install sql-server-2017=<VERSION_BEFORE_14.0.1000.169>
sudo apt-mark hold sql-server-2017
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
Copy dnf --showduplicates list sql-server-2017
sudo dnf downgrade sql-server-2017-<VERSION_BEFORE_14.0.1000.169>
sudo dnf versionlock add sql-server-2017
Downgrade risk
Copy Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Copy Restart the service, and keep the package held until a fixed release ships.
microsoft sql server 2019 UPGRADE
Affected: >= 15.0.2000.5 and < 15.0.2210.4 · >= 15.0.4003.23 and < 15.0.4510.2
Fixed in: 15.0.2210.4, 15.0.4510.2
Safe to downgrade to: a release before 15.0.2000.5
1. Check installed version
Copy apt-cache policy sql-server-2019 || rpm -q sql-server-2019 || sql-server-2019 --version
2. UPGRADE to 15.0.2210.4 (Debian / Ubuntu)
Copy sudo apt update && sudo apt install --only-upgrade sql-server-2019
2. UPGRADE (RHEL / Amazon Linux / Fedora)
Copy sudo dnf upgrade sql-server-2019
Note
Copy Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 15.0.2000.5 (Debian / Ubuntu)
Copy apt-cache madison sql-server-2019
sudo apt install sql-server-2019=<VERSION_BEFORE_15.0.2000.5>
sudo apt-mark hold sql-server-2019
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
Copy dnf --showduplicates list sql-server-2019
sudo dnf downgrade sql-server-2019-<VERSION_BEFORE_15.0.2000.5>
sudo dnf versionlock add sql-server-2019
Downgrade risk
Copy Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Copy Restart the service, and keep the package held until a fixed release ships.
microsoft sql server 2022 UPGRADE
Affected: >= 16.0.1000.6 and < 16.0.1220.3 · >= 16.0.4003.1 and < 16.0.4315.2
Fixed in: 16.0.1220.3, 16.0.4315.2
Safe to downgrade to: a release before 16.0.1000.6
1. Check installed version
Copy apt-cache policy sql-server-2022 || rpm -q sql-server-2022 || sql-server-2022 --version
2. UPGRADE to 16.0.1220.3 (Debian / Ubuntu)
Copy sudo apt update && sudo apt install --only-upgrade sql-server-2022
2. UPGRADE (RHEL / Amazon Linux / Fedora)
Copy sudo dnf upgrade sql-server-2022
Note
Copy Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 16.0.1000.6 (Debian / Ubuntu)
Copy apt-cache madison sql-server-2022
sudo apt install sql-server-2022=<VERSION_BEFORE_16.0.1000.6>
sudo apt-mark hold sql-server-2022
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
Copy dnf --showduplicates list sql-server-2022
sudo dnf downgrade sql-server-2022-<VERSION_BEFORE_16.0.1000.6>
sudo dnf versionlock add sql-server-2022
Downgrade risk
Copy Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Copy Restart the service, and keep the package held until a fixed release ships.
microsoft sql server 2025 UPGRADE
Affected: >= 17.0.1000.7 and < 17.0.1155.3 · >= 17.0.4006.2 and < 17.0.5045.3
Fixed in: 17.0.1155.3, 17.0.5045.3
Safe to downgrade to: a release before 17.0.1000.7
1. Check installed version
Copy apt-cache policy sql-server-2025 || rpm -q sql-server-2025 || sql-server-2025 --version
2. UPGRADE to 17.0.1155.3 (Debian / Ubuntu)
Copy sudo apt update && sudo apt install --only-upgrade sql-server-2025
2. UPGRADE (RHEL / Amazon Linux / Fedora)
Copy sudo dnf upgrade sql-server-2025
Note
Copy Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 17.0.1000.7 (Debian / Ubuntu)
Copy apt-cache madison sql-server-2025
sudo apt install sql-server-2025=<VERSION_BEFORE_17.0.1000.7>
sudo apt-mark hold sql-server-2025
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
Copy dnf --showduplicates list sql-server-2025
sudo dnf downgrade sql-server-2025-<VERSION_BEFORE_17.0.1000.7>
sudo dnf versionlock add sql-server-2025
Downgrade risk
Copy Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Copy Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD ·
CVE Program ·
Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems. Quick answers How do I fix CVE-2026-118116? sql server 2017: upgrade to 14.0.2150.2, 14.0.3570.2; sql server 2019: upgrade to 15.0.2210.4, 15.0.4510.2; sql server 2022: upgrade to 16.0.1220.3, 16.0.4315.2. Exact commands for each OS are on this page.
Is CVE-2026-118116 being exploited? CVE-2026-118116 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-118116 affect? CVE-2026-118116 affects sql server 2017, sql server 2019, sql server 2022. Severity is high (CVSS 7.0). Improper neutralization of special elements used in an sql command ('sql injection') in SQL Server allows an authorized attacker to elevate privileges locally.
How urgent is CVE-2026-118116? Priority 50/100. High severity; On your watchlist
Software pages Microsoft SQL Server vulnerabilities
Related CVEs CVE-2026-118117 HIGH 8.0 UPGRADE UPGRADE Improper neutralization of special elements used in an sql command ('sql injection') in SQL Server allows an aCVE-2026-118118 HIGH 8.0 UPGRADE UPGRADE Improper neutralization of special elements used in an sql command ('sql injection') in SQL Server allows an aCVE-2026-118119 HIGH 8.0 UPGRADE UPGRADE Improper neutralization of special elements used in an sql command ('sql injection') in SQL Server allows an aCVE-2026-67625 HIGH 8.5 UPGRADE UPGRADE Heap-based buffer overflow in SQL Server allows an authorized attacker to execute code over a network.CVE-2026-85886 HIGH 8.5 UPGRADE UPGRADE Heap-based buffer overflow in SQL Server allows an authorized attacker to execute code over a network.References ← Back to latest CVEs