CVE-2021-20028: SonicWall Secure Remote Access (SRA) SQL Injection Vulnerability
CVE-2021-20028 is a critical-severity flaw (CVSS 9.8) affecting sma 210 firmware, sma 410 firmware, sma 500v firmware, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Improper neutralization of a SQL Command leading to SQL Injection vulnerability impacting end-of-life Secure Remote Access (SRA) products, specifically the SRA appliances running all 8.x firmware and 9.0.0.9-26sv or earlier
Why this priority
- Critical severity
- EPSS top 2%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Used in ransomware campaigns
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 30.1% (top 2%) |
| CISA exploited list | Yes, fix due 2022-04-18, used in ransomware |
| Weakness | CWE-89 |
| Published | 2021-08-04 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: Exploitspacks/CVE-2021-20028
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-2021-20028?
sma 210 firmware: upgrade to 9.0.0.10-28sv; sma 410 firmware: upgrade to 9.0.0.10-28sv; sma 500v firmware: upgrade to 9.0.0.10-28sv. Exact commands for each OS are on this page.
Is CVE-2021-20028 being exploited?
Yes. CVE-2021-20028 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2021-20028 affect?
CVE-2021-20028 affects sma 210 firmware, sma 410 firmware, sma 500v firmware. Severity is critical (CVSS 9.8). Improper neutralization of a SQL Command leading to SQL Injection vulnerability impacting end-of-life Secure Remote Access (SRA) products, specifically the SRA appliances running all 8.x firmware and 9.0.0.9-26sv or earlier
How urgent is CVE-2021-20028?
Priority 97/100. Critical severity; EPSS top 2%: very likely to be exploited; Exploited in the wild (CISA KEV); Used in ransomware campaigns; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2025-40603 MEDIUM 4.5 UPGRADE UPGRADE A potential exposure of sensitive information in log files in SonicWall SMA100 Series appliances may allow a r
- CVE-2021-20016 CRITICAL 9.8 EXPLOITED UPGRADE MITIGATE SonicWall SSLVPN SMA100 SQL Injection Vulnerability
- CVE-2025-40599 CRITICAL 9.1 UPGRADE UPGRADE An authenticated arbitrary file upload vulnerability exists in the SMA 100 series web management interface
- CVE-2025-40598 MEDIUM 6.1 UPGRADE UPGRADE A Reflected cross-site scripting (XSS) vulnerability exists in the SMA100 series web interface, allowing a rem
- CVE-2025-40597 HIGH 7.5 UPGRADE UPGRADE A Heap-based buffer overflow vulnerability in the SMA100 series web interface allows remote, unauthenticated a