Back to CVE records
Critical 9.8Known exploited (CISA KEV)Published Mar 4, 2020

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

Updated under an hour ago ()

Does this affect you?

It affects ZyXEL NAS326 and 39 other products. Add what you run to find out whether that includes you.

CISA lists it as known exploited since Mar 25, 2022; federal agencies had to remediate by Apr 15, 2022. Treat that date as your deadline.

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

CVSS
9.8 CRITICAL (v3.1, CISA ADP)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-78
Known exploited
Added to CISA KEV Mar 25, 2022; federal remediation due Apr 15, 2022Apply updates per vendor instructions.
EPSS (exploitation in the next 30 days)
99.99% (percentile 100)
Assigned by
certcc
NVD analysis
Analyzed
Record last updated
Oct 7, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
ZyXEL NAS326
zyxel:nas326 (from the name)
from V5.21(AAZF.7)C0 through V5.21(AAZF.7)C0
CNA record
ZyXEL NAS520
zyxel:nas520 (from the name)
from V5.21(AASZ.3)C0 through V5.21(AASZ.3)C0
CNA record
ZyXEL NAS540
zyxel:nas540 (from the name)
from V5.21(AATB.4)C0 through V5.21(AATB.4)C0
CNA record
ZyXEL NAS542
zyxel:nas542 (from the name)
from V5.21(ABAG.4)C0 through V5.21(ABAG.4)C0
CNA record
ZyXEL NSA210
zyxel:nsa210 (from the name)
all versions
CNA record
ZyXEL NSA220
zyxel:nsa220 (from the name)
all versions
CNA record
ZyXEL NSA220+
zyxel:nsa220+ (from the name)
all versions
CNA record
ZyXEL NSA221
zyxel:nsa221 (from the name)
all versions
CNA record
ZyXEL NSA310
zyxel:nsa310 (from the name)
from V4.75(AALH.2)C0 through V4.75(AALH.2)C0
CNA record
ZyXEL NSA320
zyxel:nsa320 (from the name)
all versions
CNA record
ZyXEL NSA320S
zyxel:nsa320s (from the name)
from V4.75(AANV.2)C0 through V4.75(AANV.2)C0
CNA record
ZyXEL NSA325
zyxel:nsa325 (from the name)
from V4.81(AAAJ.1)C0 through V4.81(AAAJ.1)C0
CNA record
ZyXEL NSA325v2
zyxel:nsa325v2 (from the name)
from V4.81(AALS.1)C0 through V4.81(AALS.1)C0
CNA record
zyxel nas326_firmware
zyxel:nas326_firmware
before 5.21\(aazf.10\)c0
NVD
zyxel nas520_firmware
zyxel:nas520_firmware
before 5.21\(aasz.3\)c0
NVD
zyxel nas540_firmware
zyxel:nas540_firmware
before 5.21\(aatb.7\)c0
NVD
zyxel nas542_firmware
zyxel:nas542_firmware
before 5.21\(abag.7\)c0
NVD
zyxel atp100_firmware
zyxel:atp100_firmware
from 4.35 before 4.35\(abps.3\)c0
NVD
zyxel atp200_firmware
zyxel:atp200_firmware
from 4.35 before 4.35\(abfw.3\)c0
NVD
zyxel atp500_firmware
zyxel:atp500_firmware
from 4.35 before 4.35\(abfu.3\)c0
NVD
zyxel atp800_firmware
zyxel:atp800_firmware
from 4.35 before 4.35\(abiq.3\)c0
NVD
zyxel usg20-vpn_firmware
zyxel:usg20-vpn_firmware
from 4.35 before 4.35\(abaq.3\)c0
NVD
zyxel usg20w-vpn_firmware
zyxel:usg20w-vpn_firmware
from 4.35 before 4.35\(abar.3\)c0
NVD
zyxel usg40_firmware
zyxel:usg40_firmware
from 4.35 before 4.35\(aala.3\)c0
NVD
zyxel usg40w_firmware
zyxel:usg40w_firmware
from 4.35 before 4.35\(aalb.3\)c0
NVD
zyxel usg60_firmware
zyxel:usg60_firmware
from 4.35 before 4.35\(aaky.3\)c0
NVD
zyxel usg60w_firmware
zyxel:usg60w_firmware
from 4.35 before 4.35\(aakz.3\)c0
NVD
zyxel usg110_firmware
zyxel:usg110_firmware
from 4.35 before 4.35\(aaph.3\)c0
NVD
zyxel usg210_firmware
zyxel:usg210_firmware
from 4.35 before 4.35\(aapi.3\)c0
NVD
zyxel usg310_firmware
zyxel:usg310_firmware
from 4.35 before 4.35\(aapj.3\)c0
NVD
zyxel usg1100_firmware
zyxel:usg1100_firmware
from 4.35 before 4.35\(aapk.3\)c0
NVD
zyxel usg1900_firmware
zyxel:usg1900_firmware
from 4.35 before 4.35\(aapl.3\)c0
NVD
zyxel usg2200_firmware
zyxel:usg2200_firmware
from 4.35 before 4.35\(abae.3\)c0
NVD
zyxel vpn50_firmware
zyxel:vpn50_firmware
from 4.35 before 4.35\(abhl.3\)c0
NVD
zyxel vpn100_firmware
zyxel:vpn100_firmware
from 4.35 before 4.35\(abfv.3\)c0
NVD
zyxel vpn300_firmware
zyxel:vpn300_firmware
from 4.35 before 4.35\(abfc.3\)c0
NVD
zyxel vpn1000_firmware
zyxel:vpn1000_firmware
from 4.35 before 4.35\(abip.3\)c0
NVD
zyxel zywall110_firmware
zyxel:zywall110_firmware
from 4.35 before 4.35\(aaaa.3\)c0
NVD
zyxel zywall310_firmware
zyxel:zywall310_firmware
from 4.35 before 4.35\(aaab.3\)c0
NVD
zyxel zywall1100_firmware
zyxel:zywall1100_firmware
from 4.35 before 4.35\(aaac.3\)c0
NVD

References

  • x-refsource-misc, third-party-advisory
  • x-refsource-confirm, vendor-advisory
  • third-party-advisory, x-refsource-cert-vn, us-government-resource
  • x-refsource-misc, third-party-advisory, us-government-resource
  • x-refsource-misc, exploit, third-party-advisory
  • us-government-resource

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.