Skip to main content
Mallory
HighExploited in the wildCISA KEVVulnerability

CVE-2021-20022: Arbitrary File Upload in SonicWall Email Security 10.0.9.x

Published Apr 9, 2021 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.2High · v3.1
EPSS16.6%97th percentile
CISA KEVYesAdded Nov 3, 2021
In the wildActivePer CISA KEV
Vendor
Sonicwall
IdentifiersCVE-2021-20022CWE-434 · Unrestricted Upload of File with…

CVE-2021-20022 is a post-authentication arbitrary file upload vulnerability in SonicWall Email Security version 10.0.9.x. A previously authenticated attacker can exploit the flaw to upload attacker-controlled files to the target host. Reporting on observed intrusions indicates the vulnerability was used to place a web shell on a SonicWall Email Security server, after which the attacker obtained command execution in the context of the application and inherited NT AUTHORITY\SYSTEM privileges on the underlying Windows host. This enabled follow-on post-exploitation activity including credential dumping, log clearing, data staging, and lateral movement.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows an authenticated attacker to write arbitrary files to the remote system, which can be leveraged to deploy a web shell or other malicious payloads. In observed compromises, this led to command execution with SYSTEM-level privileges, credential access through registry hive export and process memory dumping, access to archived email data, defense evasion through log clearing, and lateral movement to other hosts. The practical impact is full compromise of the affected appliance or server and potentially broader compromise of the surrounding Windows domain environment.

Mitigation

If you can’t patch tonight, do this now.

If immediate patching is not possible, restrict access to SonicWall Email Security administrative interfaces to trusted management networks and accounts only, minimize the number of users with valid administrative access, enforce strong authentication and MFA where supported, and closely monitor the appliance or host for anomalous child processes spawned by the Tomcat web server, suspicious file creation indicative of web shells, unexpected modifications to application directories, and signs of credential dumping or registry hive export. Review Tomcat and SonicWall Email Security logs for malicious requests and investigate for post-exploitation artifacts before returning affected systems to service.

Remediation

Patch, then assume compromise.

Upgrade SonicWall Email Security to a fixed release. Recommended fixed versions are 10.0.9.6173 for Windows deployments and 10.0.9.6177 for Hardware and ESXi deployments. Hosted Email Security customers were automatically updated and did not require customer action. Apply the vendor hotfix or later patched release across all affected 10.0.9.x installations and verify that no unauthorized files or web shells remain on the system after patching.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
SonicwallEmail Securityapplication
SonicwallEmail Security Appliance 3300 Firmwareoperating_system
SonicwallEmail Security Appliance 4300 Firmwareoperating_system
SonicwallEmail Security Appliance 5000 Firmwareoperating_system
SonicwallEmail Security Appliance 5050 Firmwareoperating_system
SonicwallEmail Security Appliance 7000 Firmwareoperating_system
SonicwallEmail Security Appliance 7050 Firmwareoperating_system
SonicwallEmail Security Appliance 8300 Firmwareoperating_system
SonicwallEmail Security Appliance 9000 Firmwareoperating_system
SonicwallEmail Security Virtual Applianceapplication
SonicwallHosted Email Securityapplication
FAQ

Frequently asked questions

Is CVE-2021-20022 exploited in the wild?
Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 3, 2021.
Is there a public exploit for CVE-2021-20022?
As of Oct 16, 2026, Mallory has found no public exploit for CVE-2021-20022.
Is there a patch for CVE-2021-20022?
Upgrade SonicWall Email Security to a fixed release. Recommended fixed versions are 10.0.9.6173 for Windows deployments and 10.0.9.6177 for Hardware and ESXi deployments.
What products are affected by CVE-2021-20022?
Sonicwall Email Security, Sonicwall Email Security Appliance 3300 Firmware, Sonicwall Email Security Appliance 4300 Firmware, Sonicwall Email Security Appliance 5000 Firmware, Sonicwall Email Security Appliance 5050 Firmware, and 6 more.
How severe is CVE-2021-20022?
CVE-2021-20022 has a CVSS v3.1 score of 7.2 (High) and an EPSS score of 16.6% (97th percentile) as of Oct 16, 2026.
Activity feed

Recent activity

4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malware4Malware families linked to this CVE, with evidence and IOCs.
Detection signatures1YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity1Community discussion across Reddit, Mastodon, and other social sources.