patchminder
Weaponized · Metasploit CVE-2021-20039

Command injectionin SonicWall SMA100.

Published 8 Dec 2021 · Updated 5 Sep 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Metasploit exploit is public.

Attack code is public
Severity
High 8.8
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 78.7% chance in 30 days · 4 Dec 2026
Fix
Not confirmed
No source names a fixed version yet
In plain words

Improper neutralization of special elements in the SMA100 management interface '/cgi-bin/viewcert' POST http method allows a remote authenticated attacker to inject arbitrary commands as a 'nobody' user. This vulnerability affected SMA 200, 210, 400, 410 and 500v appliances.

What to do now
  • No source names a fix yet. Watch this page or the product for updates; we never guess a fixed version.

Not confirmed by any source yet: fixed version not confirmed. We show these as not confirmed instead of guessing.

Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
SonicWall SMA100
9.0.0.11-31sv and earlier
Not confirmed
CVE record
SonicWall SMA100
10.2.0.8-37sv and earlier
Not confirmed
CVE record
SonicWall SMA100
10.2.1.1-19sv and earlier
Not confirmed
CVE record
SonicWall SMA100
10.2.1.2-24sv and earlier
Not confirmed
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 17 Dec 2020
    CVE ID reserved by sonicwall.
  2. 8 Dec 2021
    Published in the CVE List.
  3. 14 Dec 2021
    Metasploit module: SonicWall SMA 100 Series Authenticated Command Injection.
  4. 5 Sep 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Metasploit). CISA assessment (SSVC): exploitation poc.

Metasploit module
1 module
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known
MetasploitSonicWall SMA 100 Series Authenticated Command Injectionrank excellentLinked once a fix or workaround is known.
Referenceattackerkb.comnamed as exploit in the CVE recordLinked once a fix or workaround is known.

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other SMA100 vulnerabilities

Same weakness: OS command injection

All CWE-78 vulnerabilities

References
Cite this page

Patchminder. CVE-2021-20039: Command injection in SonicWall SMA100. https://patchminder.com/cve/cve-2021-20039/ (accessed 5 December 2026).