CVE-2020-9054
CVE-2020-9054 is a critical-severity vulnerability (CVSS 3.1 base score 9.8). Multiple Zyxel network-attached storage (NAS) devices contain a pre-authentication command injection vulnerability, which may allow a remote, unauthenticated attacker to execute arbitrary code. CISA added it to the Known Exploited Vulnerabilities catalog on 2022-03-25, with a remediation due date of 2022-04-15 for US federal civilian agencies. As of 2026-11-22, EPSS estimates a 99.988% probability of exploitation in the next 30 days, in the 99th percentile of scored CVEs.
Updated
- CVSS 3.1
- 9.8 CRITICAL
- EPSS
- 99.988% (99th pct)
- CISA KEV
- Exploited
- Published
- 2020-03-04
- Weakness
- CWE-78
Zyxel Multiple NAS Devices OS Command Injection Vulnerability is confirmed as actively exploited and is listed in the CISA KEV catalog.
Required action
Apply updates per vendor instructions.
CISA notes
https://nvd.nist.gov/vuln/detail/CVE-2020-9054
Description
Multiple ZyXEL network-attached storage (NAS) devices running firmware version 5.21 contain a pre-authentication command injection vulnerability, which may allow a remote, unauthenticated attacker to execute arbitrary code on a vulnerable device. ZyXEL NAS devices achieve authentication by using the weblogin.cgi CGI executable. This program fails to properly sanitize the username parameter that is passed to it. If the username parameter contains certain characters, it can allow command injection with the privileges of the web server that runs on the ZyXEL device. Although the web server does not run as the root user, ZyXEL devices include a setuid utility that can be leveraged to run any command with root privileges. As such, it should be assumed that exploitation of this vulnerability can lead to remote code execution with root privileges. By sending a specially-crafted HTTP POST or GET request to a vulnerable ZyXEL device, a remote, unauthenticated attacker may be able to execute arbitrary code on the device. This may happen by directly connecting to a device if it is directly exposed to an attacker. However, there are ways to trigger such crafted requests even if an attacker does not have direct connectivity to a vulnerable devices. For example, simply visiting a website can result in the compromise of any ZyXEL device that is reachable from the client system. Affected products include: NAS326 before firmware V5.21(AAZF.7)C0 NAS520 before firmware V5.21(AASZ.3)C0 NAS540 before firmware V5.21(AATB.4)C0 NAS542 before firmware V5.21(ABAG.4)C0 ZyXEL has made firmware updates available for NAS326, NAS520, NAS540, and NAS542 devices. Affected models that are end-of-support: NSA210, NSA220, NSA220+, NSA221, NSA310, NSA310S, NSA320, NSA320S, NSA325 and NSA325v2
Key Findings
as of 2026-11-22- CISA added CVE-2020-9054 to the KEV catalog 751 days after its CVE record was published.
- It is one of 13 Zyxel entries in the CISA KEV catalog, and one of 2 added in 2022.
- Its current EPSS score (99.988%) is higher than that of 96% of CISA KEV entries.
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator Remediation Timeline
BOD 26-04, US federal agenciesDeadlines for US federal civilian agencies under Table 1 of CISA BOD 26-04, from the CVE's KEV status (listed) and CISA's SSVC values (automatable no, technical impact total, 2025-02-07).
How the timeline is set
Table 1 of CISA's Binding Operational Directive 26-04 sets the time US federal civilian agencies have to remediate a vulnerability. It depends on four inputs: whether the asset is publicly exposed, whether the CVE is in the KEV catalog, whether an adversary can automate its exploitation, and whether exploitation gives partial or total control of the asset, which SSVC calls technical impact. CISA publishes the last three for every CVE through services such as its Vulnrichment program.
Days are calendar days. The clock starts at whichever comes first: CISA adds the CVE to the KEV catalog, or the agency identifies the vulnerability on an asset and reports it to its Continuous Diagnostics and Mitigation (CDM) dashboard. A publicly exposed asset is accessible to unauthenticated or untrusted entities via public networks, such as the internet. Forensic triage means assessing the asset to determine whether it has been compromised.
CISA calculates the KEV due date with the same table, using its own evidence on whether the vulnerability is present in a publicly exposed asset. Each agency makes the final exposure decision for each of its assets.
Affected Products
| Vendor | Product | Affected versions |
|---|---|---|
| ZyXEL | ZyXEL NAS326 | V5.21(AAZF.7)C0 to V5.21(AAZF.7)C0 |
| ZyXEL | ZyXEL NAS520 | V5.21(AASZ.3)C0 to V5.21(AASZ.3)C0 |
| ZyXEL | ZyXEL NAS540 | V5.21(AATB.4)C0 to V5.21(AATB.4)C0 |
| ZyXEL | ZyXEL NAS542 | V5.21(ABAG.4)C0 to V5.21(ABAG.4)C0 |
| ZyXEL | ZyXEL NSA210 | all |
| ZyXEL | ZyXEL NSA220 | all |
| ZyXEL | ZyXEL NSA220+ | all |
| ZyXEL | ZyXEL NSA221 | all |
| ZyXEL | ZyXEL NSA310 | V4.75(AALH.2)C0 to V4.75(AALH.2)C0 |
| ZyXEL | ZyXEL NSA320 | all |
| ZyXEL | ZyXEL NSA320S | V4.75(AANV.2)C0 to V4.75(AANV.2)C0 |
| ZyXEL | ZyXEL NSA325 | V4.81(AAAJ.1)C0 to V4.81(AAAJ.1)C0 |
| ZyXEL | ZyXEL NSA325v2 | V4.81(AALS.1)C0 to V4.81(AALS.1)C0 |
Solutions and Workarounds
from the CNA's CVE recordSolution
ZyXEL has made firmware updates available for NAS326, NAS520, NAS540, NAS542, ATP100, ATP200, ATP500, ATP800, USG20-VPN, USG20W-VPN, USG40, USG40W, USG60, USG60W, USG110, USG210, USG310, USG1100, USG1900, USG2200, VPN50, VPN100, VPN300, VPN1000, ZyWALL110, ZyWALL310, and ZyWALL1100 devices.
Workarounds
Block access to the ZyXEL device web interface: This issue can be mitigated by blocking (for example with a firewall) access to the web interface (80/tcp and 443/tcp) of any vulnerable ZyXEL device. Any machine that can access the ZyXEL web interface should not also be able to access the internet. Restrict access to vulnerable ZyXEL devices: Direct exploitation of this vulnerability can be mitigated by restricting access to vulnerable devices. In particular, do not expose such devices directly to the internet. Note however, that it is still possible for attackers to exploit devices that are not directly connected to the internet. For example, by way of viewing a web page.
References
5 linksThird-party advisories
Other references
Record Details
- Publicly disclosed
- 2020-02-20
- Published
- 2020-03-04
- Last updated
- 2026-10-07
- Assigner (CNA)
- certcc
- Credited to
- Thanks to Alex Holden of Hold Security for finding and reporting this vulnerability.
More from Zyxel
Zyxel Multiple NAS Devices Command Injection Vulnerability
Zyxel Multiple Firewalls OS Command Injection Vulnerability
Zyxel Multiple Firewalls OS Command Injection Vulnerability
Zyxel P660HN-T1A Routers Command Injection Vulnerability
CVE record data © The MITRE Corporation, used under the CVE Terms of Use. Exploited-in-the-wild data from the CISA Known Exploited Vulnerabilities catalog (CC0). Exploit prediction scores by FIRST EPSS (first.org/epss). Alert titles and links from CISA cybersecurity alerts. This site is not affiliated with or endorsed by MITRE, NVD, CISA, or FIRST.