Skip to main content
Mallory
CriticalExploited in the wildCISA KEVVulnerability

CVE-2021-20028: SQL Injection in SonicWall SRA Appliances

Published Aug 4, 2021 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.8Critical · v3.1
EPSS30.1%98th percentile
CISA KEVYesAdded Mar 28, 2022
In the wildActivePer CISA KEV
Vendor
Sonicwall
IdentifiersCVE-2021-20028CWE-89 · Improper Neutralization of Special…

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

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.

VendorProductType
SonicwallSma 210 Firmwareoperating_system
SonicwallSma 410 Firmwareoperating_system
SonicwallSma 500v Firmwareoperating_system
SonicwallSra 1600 Firmwareoperating_system
SonicwallSra 4600 Firmwareoperating_system
SonicwallSra Va Firmwareoperating_system
FAQ

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.
Activity feed

Recent activity

8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+2 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malware4Malware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.