Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2020-9054: Pre-authentication OS command injection in Zyxel NAS and firewall products

Published Mar 4, 2020 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.8Critical · v3.1
EPSS100.0%100th percentile
CISA KEVYesAdded Mar 25, 2022
In the wildActivePer CISA KEV
Vendor
Zyxel Communications
IdentifiersCVE-2020-9054CWE-78 · Improper Neutralization of Special…

CVE-2020-9054 is a pre-authentication OS command injection vulnerability in the web login CGI authentication handler of multiple Zyxel NAS and firewall products. Insufficient sanitization of the username parameter allows specially crafted HTTP GET or POST requests to execute arbitrary commands with web-server privileges. On affected NAS devices, a setuid utility can subsequently provide root-level command execution. Affected products include unpatched NAS devices running firmware 5.21 and earlier and certain UTM, ATP, and VPN firewalls running ZLD V4.35 Patch 0 through Patch 2; earlier firewall firmware is not affected. Exploitation can occur through direct network access or through a malicious website visited by a client that can reach the vulnerable device. The vulnerability has been exploited in the wild, including to deploy the Mirai variant Mukashi.

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 permits unauthenticated remote command execution and device takeover. On affected NAS devices, attackers can elevate execution from the web-server account to root through an existing setuid utility, enabling privileged access to device data and configuration and disruption of device operation. A public proof of concept demonstrates device shutdown, and observed exploitation has deployed botnet malware.

Mitigation

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

Remove direct internet exposure and place affected devices behind a filtering security router or firewall, particularly when firmware updates are unavailable. This is a partial workaround: a malicious website can trigger exploitation when the visiting client can reach a vulnerable device. Exploit-specific intrusion-prevention coverage is available for Zyxel NAS pre-authentication OS command injection.

Remediation

Patch, then assume compromise.

Install the applicable model-specific Zyxel firmware update. Updated NAS releases include NAS326 V5.21(AAZF.10)C0, NAS520 V5.21(AASZ.3)C0, NAS540 V5.21(AATB.7)C0, and NAS542 V5.21(ABAG.7)C0. The NAS520 firmware requires contacting local support because the product is end-of-life. Affected ATP, USG, USG-VPN, VPN, and ZyWALL firewalls require their applicable patched V4.35 firmware releases. No corrective updates are provided for affected unsupported NSA210, NSA220, NSA220+, NSA221, NSA310, NSA310S, NSA320, NSA320S, NSA325, and NSA325v2 devices; decommissioning or replacing these devices is recommended.

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
Zyxel CommunicationsAtp100 Firmwareoperating_system
Zyxel CommunicationsAtp200 Firmwareoperating_system
Zyxel CommunicationsAtp500 Firmwareoperating_system
Zyxel CommunicationsAtp800 Firmwareoperating_system
Zyxel CommunicationsNas326 Firmwareoperating_system
Zyxel CommunicationsNas520 Firmwareoperating_system
Zyxel CommunicationsNas540 Firmwareoperating_system
Zyxel CommunicationsNas542 Firmwareoperating_system
Zyxel CommunicationsUsg110 Firmwareoperating_system
Zyxel CommunicationsUsg1100 Firmwareoperating_system
Zyxel CommunicationsUsg1900 Firmwareoperating_system
Zyxel CommunicationsUsg20-Vpn Firmwareoperating_system
Zyxel CommunicationsUsg20w-Vpn Firmwareoperating_system
Zyxel CommunicationsUsg210 Firmwareoperating_system
Zyxel CommunicationsUsg2200 Firmwareoperating_system
Zyxel CommunicationsUsg310 Firmwareoperating_system
Zyxel CommunicationsUsg40 Firmwareoperating_system
Zyxel CommunicationsUsg40w Firmwareoperating_system
Zyxel CommunicationsUsg60 Firmwareoperating_system
Zyxel CommunicationsUsg60w Firmwareoperating_system
Zyxel CommunicationsVpn100 Firmwareoperating_system
Zyxel CommunicationsVpn1000 Firmwareoperating_system
Zyxel CommunicationsVpn300 Firmwareoperating_system
Zyxel CommunicationsVpn50 Firmwareoperating_system
Zyxel CommunicationsZywall110 Firmwareoperating_system
Zyxel CommunicationsZywall1100 Firmwareoperating_system
Zyxel CommunicationsZywall310 Firmwareoperating_system
FAQ

Frequently asked questions

Is CVE-2020-9054 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 Mar 25, 2022.
Is there a public exploit for CVE-2020-9054?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2020-9054, the earliest disclosed Sep 9, 2021.
Is there a patch for CVE-2020-9054?
Install the applicable model-specific Zyxel firmware update. Updated NAS releases include NAS326 V5.21(AAZF.10)C0, NAS520 V5.21(AASZ.3)C0, NAS540 V5.21(AATB.7)C0, and NAS542 V5.21(ABAG.7)C0.
What products are affected by CVE-2020-9054?
Zyxel Communications Atp100 Firmware, Zyxel Communications Atp200 Firmware, Zyxel Communications Atp500 Firmware, Zyxel Communications Atp800 Firmware, Zyxel Communications Nas326 Firmware, and at least 22 more.
How severe is CVE-2020-9054?
CVE-2020-9054 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 100.0% (100th percentile) as of Oct 16, 2026.
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 evidence1Every report linking this CVE to a named adversary.
Associated malware15Malware families linked to this CVE, with evidence and IOCs.
Detection signatures4YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.