patchminder
Exploited in the wild · CISA KEV Used by ransomware CVE-2021-20021

Privilege escalationin SonicWall Email Security.

Published 9 Apr 2021 · Updated 12 Aug 2026 · Every fact sourced

JSONCite
Is it exploited?
Yes

On CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks.'s exploited list since 3 Nov 2021. Ransomware groups use it too.

On CISA's listKnown ransomware useAttack code is public
Severity
Critical 9.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 · no login needed
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 88.8% chance in 30 days · 4 Dec 2026
Fix
Not confirmed
No source names a fixed version yet
In plain words

A vulnerability in the SonicWall Email Security version 10.0.9.x allows an attacker to create an administrative account by sending a crafted HTTP request to the remote host.

CISA: SonicWall Email Security contains an improper privilege management vulnerability that allows an attacker to create an administrative account by sending a crafted HTTP request to the remote host. This vulnerability has known usage in a SonicWall Email Security exploit chain along with CVE-2021-20022 and CVE-2021-20023 to achieve privilege escalation.

What to do now
  • CISA requires US federal agencies to fix it by 17 Nov 2021.

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
Email Security
10.0.9 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. 9 Apr 2021
    Published in the CVE List.
  3. 3 Nov 2021
    Added to CISA's Known Exploited Vulnerabilities list.
  4. 3 Nov 2021
    CISA lists known use in ransomware campaigns.
  5. 7 Sep 2023
    First public proof of concept on GitHub.
  6. 12 Aug 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.

Metasploit module
None known
Nuclei scan template
Available
Exploit-DB
None known
GitHub proof of concepts
1 repository
NucleiSonicWall Email Security <= 10.0.9.x · Unauthenticated Admin Account Creationdetection templateLinked once a fix or workaround is known.

1 proof of concept repository on GitHub. No fix or workaround is known yet, so we count them but do not link to them.

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 Email Security vulnerabilities

Same weakness: Improper privilege management

All CWE-269 vulnerabilities

References
Cite this page

Patchminder. CVE-2021-20021: Privilege escalation in SonicWall Email Security. https://patchminder.com/cve/cve-2021-20021/ (accessed 5 December 2026).