Security Advisory

CVE-2021-20028: SonicWall SRA SQL Injection (KEV)

Last updated:
  • CVE-2021-20028

CVE-2021-20028 is an SQL injection in SonicWall Secure Remote Access (SRA) VPN appliances running 8.x firmware or 9.0.0.9-26sv and earlier. NVD scores it 9.8 and CISA KEV records known ransomware use. SonicWall fixed the code in 9.0.0.10-28sv, but the SRA models are past end of support and cannot run that release, so CISA says to disconnect them.

Vulnerability summary

CVSS base score

9.8

Critical severity

EPSS score (FIRST)

30.1%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

Yes

Listed as known exploited

Published

Vulnerability ID: CVE-2021-20028 · Source: NVD (Primary CVSS v3.1)

Affected components

ComponentCPEVersion range
SonicWall SRA appliances (SRA 4600, SRA 1600, SRA virtual appliance) and SMA 100 series on old firmwarecpe:2.3:o:sonicwall:sra_4600_firmware:*:*:*:*:*:*:*:*All 8.x and 9.0.0.9-26sv or earlier; fixed in 9.0.0.10-28sv and higher, 10.x not affected (SonicWall SNWLID-2021-0017). SRA models end of support since 2019 and incompatible with 9.0.0.10; CISA KEV: end-of-life, disconnect

What does this mean for affected devices?

The CVE record, from SonicWall as CNA, describes CVE-2021-20028 as an "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" (CVE record). NVD's Primary score is CVSS v3.1 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), with a CVSS v2 score of 7.5 and CWE-89; SonicWall scores it 9.8 under CVSS 3.0 (NVD).

Which SonicWall appliances are affected?

SonicWall advisory SNWLID-2021-0017, published 2021-07-13 and updated 2021-08-04 to add the CVE id, credits CrowdStrike with the report. It lists SMA/SRA 8.x and 9.0.0.9-26sv and earlier as affected and 9.0.0.10-28sv and higher as fixed. SonicWall says code hardening it shipped with SMA firmware 9.0.0.10 in February 2021 already prevents this flaw in 9.0.0.10, that 10.x is not affected because the vulnerable feature was removed, and that SMA 1000 series products are not affected. NVD's CPE data list SRA 4600, SRA 1600 and SRA virtual appliance firmware alongside the SMA 210, 410 and 500v, from 8.0.0.0 to before 9.0.0.10-28sv.

What should SRA owners do?

For SMA 100 appliances, upgrade to current firmware; for the SRA models themselves there is no firmware path. In a February 2022 update to its SRA advisory, SonicWall says an earlier statement that 9.0.0.10 would work on end-of-support SRA models was wrong: the firmware and those models "are incompatible", and "the last SRA models reached EOS status in 2019". SonicWall says end-of-support SRA products "must be upgraded to the latest hardware and firmware". CISA's KEV required action is that "the impacted product is end-of-life and should be disconnected if still in use". Keep any remaining remote-access appliance's management interface off the internet, see CISA BOD 23-02 and internet-exposed management interfaces. Related SMA 100 SQL injections on KEV are CVE-2019-7481 and CVE-2021-20016.

Is CVE-2021-20028 exploited?

Yes. CISA added it to KEV on 2022-03-28 (due 2022-04-18) and marks known ransomware campaign use as Known; it is listed in catalog version 2026.11.25 as of 2026-11-26 (CISA KEV). FIRST EPSS gives 0.30084, the 98.63rd percentile, in the 2026-11-25 dataset (FIRST EPSS); see KEV and EPSS prioritization.

How to fix this class of issueThis advisory's weakness class is SQL injection. Our practical guide covers how to detect, fix, verify and disclose it: How to fix SQL injection, XSS, resource exhaustion and deserialization flaws in embedded firmware.

Evidence

  • NVD (Analyzed, published 2021-08-04): Primary CVSS v3.1 9.8 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; Primary CVSS v2 7.5; CISA-ADP Secondary 9.8; CWE-89 (NVD and SonicWall); CPE firmware of SMA 210, SMA 410, SMA 500v, SRA 4600, SRA 1600, SRA VA from 8.0.0.0 to before 9.0.0.10-28sv; read 2026-11-26. — NVD
  • CVE record (CNA SonicWall, published 2021-08-04): SQL injection impacting end-of-life SRA products, SRA appliances running all 8.x firmware and 9.0.0.9-26sv or earlier; product SonicWall SRA/SMA100. — CVE.org
  • SonicWall SNWLID-2021-0017 (published 2021-07-13, updated 2021-08-04, read via the PSIRT site API 2026-11-26): reported by CrowdStrike; affected SMA/SRA 8.x, 9.0.0.9-26sv and earlier; fixed 9.0.0.10-28sv and higher; 10.x not subject as feature deprecated; SMA 1000 not affected; CVSS 3.0 9.8, CWE-89; no workaround. — SonicWall PSIRT
  • SonicWall product notification (published 2021-06-15, updated 2022-02-02): 9.0.0.10 firmware and unsupported SRA models are incompatible; last SRA models reached EOS in 2019; end-of-support SRA products must be upgraded to the latest hardware and firmware; no support for EOS products. — SonicWall
  • CISA KEV catalog 2026.11.25: SonicWall Secure Remote Access (SRA) SQL Injection Vulnerability, dateAdded 2022-03-28, due 2022-04-18, knownRansomwareCampaignUse Known, CWE-89; required action: product is end-of-life and should be disconnected if still in use; checked 2026-11-26. — CISA KEV
  • EPSS 0.30084, percentile 0.98628, dataset 2026-11-25, read 2026-11-26. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. CVE.org record CVE-2021-20028 (CNA: SonicWall)
  3. SonicWall PSIRT advisory SNWLID-2021-0017
  4. SonicWall product notification: patched vulnerability impacting end-of-life SRA appliances
  5. CISA KEV
  6. FIRST EPSS

Frequently asked questions

Can I patch an SRA 4600 or SRA 1600 against CVE-2021-20028?

No firmware path exists for the SRA models. SonicWall names 9.0.0.10-28sv as fixed, but says that firmware is incompatible with the end-of-support SRA models, which reached end of support in 2019; it asks for an upgrade to current hardware and firmware (per SonicWall SNWLID-2021-0017 and its February 2022 notification update).

Are SMA 100 appliances on 10.x affected?

No. SonicWall says 10.x is not subject to this flaw because the vulnerable feature was removed, and SMA 1000 series products are not affected either (per SonicWall SNWLID-2021-0017).

What does CISA tell owners to do?

CISA KEV states that the product is end-of-life and should be disconnected if still in use. It added the CVE on 2022-03-28 and records known ransomware campaign use (per CISA KEV, as of 2026-11-26).

How severe is CVE-2021-20028?

NVD gives a Primary CVSS v3.1 score of 9.8 (critical) and CVSS v2 7.5; SonicWall scores 9.8 under CVSS 3.0. FIRST EPSS is 0.30084, the 98.63rd percentile, in the 2026-11-25 dataset (per NVD, SonicWall and FIRST EPSS, as of 2026-11-26).