CVE-2021-20016 is a pre-authentication SQL injection in SonicWall SMA100 remote access appliances on 10.x firmware: an unauthenticated attacker can read usernames, passwords and session data. SonicWall confirmed zero-day exploitation, NVD scores it 9.8 and CISA KEV lists known ransomware use. The fix is 10.2.0.5-d-29sv; then reset passwords and enable MFA.
Vulnerability summary
CVSS base score
9.8
Critical severity
EPSS score (FIRST)
40.0%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
Yes
Listed as known exploited
Published
Vulnerability ID: CVE-2021-20016 · Source: NVD (Primary CVSS v3.1)
Affected components
| Component | CPE | Version range |
|---|---|---|
| SonicWall SMA 200, SMA 210, SMA 400, SMA 410 (physical appliances) | cpe:2.3:o:sonicwall:sma_100_firmware:*:*:*:*:*:*:*:* | 10.x firmware before 10.2.0.5-d-29sv; fixed in 10.2.0.5-d-29sv (SonicWall SNWLID-2021-0001) |
| SonicWall SMA 500v virtual appliance (Azure, AWS, ESXi, Hyper-V) | cpe:2.3:a:sonicwall:sma_500v:-:*:*:*:*:*:*:* | 10.x firmware before 10.2.0.5-d-29sv; fixed in 10.2.0.5-d-29sv (SonicWall SNWLID-2021-0001) |
What does this mean for affected devices?
NVD describes CVE-2021-20016 as "a SQL-Injection vulnerability in the SonicWall SSLVPN SMA100 product" that "allows a remote unauthenticated attacker to perform SQL query to access username password and other session related information" and "impacts SMA100 build version 10.x". 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 and CISA-ADP also give 9.8 (NVD, CVE record).
Which SMA appliances are affected?
SonicWall's advisory SNWLID-2021-0001, titled "Confirmed Zero-day vulnerability in the SonicWall SMA100 build version 10.x", lists SMA 100 devices on 10.x firmware: the physical SMA 200, 210, 400 and 410 and the SMA 500v virtual appliance on Azure, AWS, ESXi and Hyper-V. SonicWall first published it on 2021-01-23, confirmed the zero-day on 2021-02-01 and released the patch on 2021-02-03. NCC Group is credited.
Which firmware fixes it?
SonicWall's fixed release is 10.2.0.5-d-29sv; NVD's CPE range covers 10.0.0.0 up to that build. SonicWall's interim advice was to enable multi-factor authentication, enable the WAF on the SMA100, and reset the passwords of users who logged in through the web interface, which still applies after patching because credentials may have been read. For later SMA100 fixes, SonicWall's September 2025 advisory SNWLID-2025-0015 recommends 10.2.2.2-92sv for the SMA 210, 410 and 500v and says the release "does not change the established End-of-Support (EOS) timeline". Keep the management interface off the internet, see CISA BOD 23-02 and internet-exposed management interfaces.
Is CVE-2021-20016 exploited?
Yes. CISA added it to the KEV catalog on 2021-11-03 with the required action "Apply updates per vendor instructions." (due 2021-11-17) and records known ransomware campaign use; it is still listed as of 2026-11-25 in catalog version 2026.11.24 (CISA KEV). FIRST EPSS gives 0.40038, the 98.65th percentile, in the 2026-11-24 dataset (FIRST EPSS); see KEV and EPSS prioritization. The older 9.x SQL injection is CVE-2019-7481; a later 10.x flaw is CVE-2021-20038.
Evidence
- NVD (Analyzed, published 2021-02-04): SQL injection in SonicWall SSLVPN SMA100 lets remote unauthenticated attacker access username, password and session information; SMA100 build version 10.x; 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 sma_100_firmware 10.0.0.0 to < 10.2.0.5-d-29sv with SMA 200/210/400/410 and SMA 500v; read 2026-11-25. — NVD
- SonicWall SNWLID-2021-0001 (published 2021-01-23, updated 2021-02-03, read via the PSIRT site API 2026-11-25): "Confirmed Zero-day vulnerability in the SonicWall SMA100 build version 10.x", CVSS 9.8, CWE-89; affected SMA 100 10.x on SMA 200, 210, 400, 410 and SMA 500v (Azure, AWS, ESXi, HyperV); fixed 10.2.0.5-d-29sv; workaround enable MFA, enable WAF, reset passwords of web-interface users; revisions 2021-02-01 zero-day confirmed, 2021-02-03 patch build; credit NCC Group. — SonicWall PSIRT SNWLID-2021-0001
- SonicWall SNWLID-2025-0015 (published 2025-09-22, updated 2025-09-29, read 2026-11-25): SMA 100 10.2.2.2-92sv adds file checking to remove known rootkit malware; does not change the established End-of-Support (EOS) timeline; SonicWall strongly recommends SMA 210, 410 and 500v users upgrade to 10.2.2.2-92sv; affected 10.2.1.15-81sv and earlier. — SonicWall PSIRT SNWLID-2025-0015
- CVE record: PUBLISHED, CNA SonicWall, published 2021-02-03; affected SMA100 build version 10.x; CISA-ADP CVSS 3.1 9.8, SSVC exploitation active. — CVE.org
- KEV catalog 2026.11.24: dateAdded 2021-11-03, due 2021-11-17, required action "Apply updates per vendor instructions.", knownRansomwareCampaignUse Known, CWE-89; checked 2026-11-25. — CISA KEV
- EPSS 0.40038, percentile 0.98652, dataset 2026-11-24, read 2026-11-25. — FIRST EPSS

Related advisories
Sources
Frequently asked questions
Which SMA100 firmware fixes CVE-2021-20016?
SonicWall names 10.2.0.5-d-29sv for SMA 200, 210, 400, 410 and SMA 500v appliances on 10.x firmware (per SonicWall SNWLID-2021-0001).
What else should I do after patching CVE-2021-20016?
Because the flaw exposes usernames, passwords and session data, SonicWall advises resetting the passwords of users who logged in through the web interface, enabling MFA and enabling the SMA100 WAF (per SonicWall SNWLID-2021-0001).
Was CVE-2021-20016 a zero-day?
Yes. SonicWall titled its advisory a confirmed zero-day in SMA100 build version 10.x, confirmed on 2021-02-01, with the patch on 2021-02-03. CISA KEV lists known ransomware campaign use (per SonicWall SNWLID-2021-0001 and CISA KEV catalog 2026.11.24, as of 2026-11-25).
Which SonicWall appliances does CVE-2021-20016 affect?
SMA 100 series units on 10.x firmware: the physical SMA 200, 210, 400 and 410 and the SMA 500v virtual appliance on Azure, AWS, ESXi and Hyper-V (per SonicWall SNWLID-2021-0001 and NVD).
Questions about this page?