CVEBrief

Home / ZyXEL / NAS326 / CVE-2020-9054

CVE-2020-9054: is it exploited, and which versions of ZyXEL NAS326 are affected and fixed?

CVE-2020-9054 is an OS command injection vulnerability in ZyXEL NAS326, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on March 25, 2022, with a federal due date of April 15, 2022. Affected: NAS326 from V5.21(AAZF.7)C0 through V5.21(AAZF.7)C0, NAS520 from V5.21(AASZ.3)C0 through V5.21(AASZ.3)C0, NAS540 from V5.21(AATB.4)C0 through V5.21(AATB.4)C0 and 10 more (CVE record by certcc). Fixed in 5.21\(aazf.10\)c0, 5.21\(aasz.3\)c0, 5.21\(aatb.7\)c0, 5.21\(abag.7\)c0 and 2 more (NVD). Severity: Critical (9.8, CVSS 3.1, from CISA-ADP).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:12 UTC.

Exploited in the wild
Yes, CISA KEV
added March 25, 2022, due April 15, 2022
Affected
NAS326 from V5.21(AAZF.7)C0 through V5.21(AAZF.7)C0, NAS520 from V5.21(AASZ.3)C0 through V5.21(AASZ.3)C0, NAS540 from V5.21(AATB.4)C0 through V5.21(AATB.4)C0 and 10 more
CVE record by certcc
Fixed in
5.21\(aazf.10\)c0, 5.21\(aasz.3\)c0, 5.21\(aatb.7\)c0, 5.21\(abag.7\)c0 and 2 more
NVD
Severity
Critical 9.8
CVSS 3.1 from CISA-ADP
Exploit odds (EPSS)
100.0% in 30 days
higher than 100% of CVEs; FIRST, December 2, 2026

What is CVE-2020-9054?

ZyXEL NAS products running firmware version 5.21 and earlier are vulnerable to pre-authentication command injection in weblogin.cgi

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

From the CVE record by certcc, last updated October 7, 2026, 17:32 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
ZyXELNAS326from V5.21(AAZF.7)C0 through V5.21(AAZF.7)C0
ZyXELNAS520from V5.21(AASZ.3)C0 through V5.21(AASZ.3)C0
ZyXELNAS540from V5.21(AATB.4)C0 through V5.21(AATB.4)C0
ZyXELNAS542from V5.21(ABAG.4)C0 through V5.21(ABAG.4)C0
ZyXELNSA210all
ZyXELNSA220all
ZyXELNSA220+all
ZyXELNSA221all
ZyXELNSA310from V4.75(AALH.2)C0 through V4.75(AALH.2)C0
ZyXELNSA320all
ZyXELNSA320Sfrom V4.75(AANV.2)C0 through V4.75(AANV.2)C0
ZyXELNSA325from V4.81(AAAJ.1)C0 through V4.81(AAAJ.1)C0
ZyXELNSA325v2from V4.81(AALS.1)C0 through V4.81(AALS.1)C0

As the CVE record by certcc states it, last updated October 7, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
zyxelnas326 firmwarebefore 5.21\(aazf.10\)c0operating system
zyxelnas520 firmwarebefore 5.21\(aasz.3\)c0operating system
zyxelnas540 firmwarebefore 5.21\(aatb.7\)c0operating system
zyxelnas542 firmwarebefore 5.21\(abag.7\)c0operating system
zyxelatp100 firmwarefrom 4.35 before 4.35\(abps.3\)c0operating system
zyxelatp200 firmwarefrom 4.35 before 4.35\(abfw.3\)c0operating system
zyxelatp500 firmwarefrom 4.35 before 4.35\(abfu.3\)c0operating system
zyxelatp800 firmwarefrom 4.35 before 4.35\(abiq.3\)c0operating system
zyxelusg20-vpn firmwarefrom 4.35 before 4.35\(abaq.3\)c0operating system
zyxelusg20w-vpn firmwarefrom 4.35 before 4.35\(abar.3\)c0operating system
zyxelusg40 firmwarefrom 4.35 before 4.35\(aala.3\)c0operating system
zyxelusg40w firmwarefrom 4.35 before 4.35\(aalb.3\)c0operating system
zyxelusg60 firmwarefrom 4.35 before 4.35\(aaky.3\)c0operating system
zyxelusg60w firmwarefrom 4.35 before 4.35\(aakz.3\)c0operating system
zyxelusg110 firmwarefrom 4.35 before 4.35\(aaph.3\)c0operating system
zyxelusg210 firmwarefrom 4.35 before 4.35\(aapi.3\)c0operating system
zyxelusg310 firmwarefrom 4.35 before 4.35\(aapj.3\)c0operating system
zyxelusg1100 firmwarefrom 4.35 before 4.35\(aapk.3\)c0operating system
zyxelusg1900 firmwarefrom 4.35 before 4.35\(aapl.3\)c0operating system
zyxelusg2200 firmwarefrom 4.35 before 4.35\(abae.3\)c0operating system
zyxelvpn50 firmwarefrom 4.35 before 4.35\(abhl.3\)c0operating system
zyxelvpn100 firmwarefrom 4.35 before 4.35\(abfv.3\)c0operating system
zyxelvpn300 firmwarefrom 4.35 before 4.35\(abfc.3\)c0operating system
zyxelvpn1000 firmwarefrom 4.35 before 4.35\(abip.3\)c0operating system
zyxelzywall110 firmwarefrom 4.35 before 4.35\(aaaa.3\)c0operating system

NVD analysis (status Analyzed), last modified October 8, 2026, 13:38 UTC.

How severe is CVE-2020-9054?

ScoreVersionVectorSource
Critical 9.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCISA-ADP
Critical 9.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD
High 10.0CVSS 2.0AV:N/AC:L/Au:N/C:C/I:C/A:CNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2020-9054 exploited in the wild?

CISA KEV
Listed as Zyxel Multiple NAS Devices OS Command Injection Vulnerability, added March 25, 2022; federal agencies must act by April 15, 2022
Required action
Apply updates per vendor instructions.
Ransomware use
Unknown
CISA's summary
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 SSVC
Exploitation: active; automatable: no; technical impact: total (CISA ADP, February 7, 2025)
EPSS
100.0% probability of exploitation activity in the next 30 days, percentile 100.0 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

How do I fix it? (from the CVE record)

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.

Is there a workaround? (from the CVE record)

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.

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
February 18, 2020
Published
March 4, 2020, 19:30 UTC
CVE record updated
October 7, 2026, 17:32 UTC by certcc
NVD
Analyzed, last modified October 8, 2026, 13:38 UTC
Last checked
CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:12 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
Official record
cve.org · NVD · CISA KEV

Questions about CVE-2020-9054

Is CVE-2020-9054 exploited in the wild?

Yes. CISA added CVE-2020-9054 to its Known Exploited Vulnerabilities catalog on March 25, 2022 and set federal agencies a due date of April 15, 2022. FIRST's EPSS gives it a 100.0% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of ZyXEL NAS326 are affected by CVE-2020-9054?

NAS326 from V5.21(AAZF.7)C0 through V5.21(AAZF.7)C0, NAS520 from V5.21(AASZ.3)C0 through V5.21(AASZ.3)C0, NAS540 from V5.21(AATB.4)C0 through V5.21(AATB.4)C0, NAS542 from V5.21(ABAG.4)C0 through V5.21(ABAG.4)C0, NSA210 all, NSA220 all and 7 more, per the CVE record by certcc. The tables above give every range the sources list.

Which version fixes CVE-2020-9054?

5.21\(aazf.10\)c0, 5.21\(aasz.3\)c0, 5.21\(aatb.7\)c0, 5.21\(abag.7\)c0, 4.35\(abps.3\)c0 and 4.35\(abfw.3\)c0, per the NVD. Check the vendor's advisory before you rely on it.

How severe is CVE-2020-9054?

Critical (9.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.

Where is the official record of CVE-2020-9054?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.