CVE-2021-20028: SQL Injection in SonicWall SRA Appliances
- Vendor
- Sonicwall
CVE-2021-20028 is an SQL injection vulnerability caused by improper neutralization of special elements in SQL commands in end-of-life SonicWall Secure Remote Access (SRA) appliances. It affects all 8.x firmware versions and 9.x firmware through 9.0.0.9-26sv. The vulnerable feature was deprecated in 10.x firmware, and SMA 1000 Series products are unaffected. The vulnerability has been exploited in the wild, including in a campaign leveraging it alongside CVE-2019-7481 to deploy LockBit ransomware. The specific vulnerable function is not identified.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Exploitation enables SQL command injection in affected appliances. The precise database operations, accessible information, and direct service-disruption effects are not established. A ransomware campaign leveraged CVE-2021-20028 alongside CVE-2019-7481 to deploy LockBit; that combined activity does not establish the standalone capabilities of this vulnerability.
Mitigation
If you can’t patch tonight, do this now.
Decommission end-of-life SRA appliances that cannot receive supported security updates. No vulnerability-specific interim workaround is established.
Remediation
Patch, then assume compromise.
For upgrade-capable affected appliances, SonicWall identified SMA/SRA firmware 9.0.0.10-28sv and higher as fixed. Firmware 9.0.0.10 introduced code strengthening that prevented exploitation, and all 10.x versions are unaffected because the vulnerable feature was deprecated. Later guidance states that end-of-life SRA appliances have no available patches and should be decommissioned. Replace unsupported appliances rather than relying on historical firmware fixes as an ongoing support strategy.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2021-20028 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Mar 28, 2022.
- Is there a public exploit for CVE-2021-20028?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2021-20028.
- Is there a patch for CVE-2021-20028?
- For upgrade-capable affected appliances, SonicWall identified SMA/SRA firmware 9.0.0.10-28sv and higher as fixed. Firmware 9.0.0.10 introduced code strengthening that prevented exploitation, and all 10.x versions are unaffected because the vulnerable feature was deprecated.
- What products are affected by CVE-2021-20028?
- Sonicwall Sma 210 Firmware, Sonicwall Sma 410 Firmware, Sonicwall Sma 500v Firmware, Sonicwall Sra 1600 Firmware, Sonicwall Sra 4600 Firmware, and 1 more.
- How severe is CVE-2021-20028?
- CVE-2021-20028 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 30.1% (98th percentile) as of Oct 16, 2026.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.