Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2020-9054

published critical CVSS 3.1 · 9.8

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

Published
04 Mar 2020, 19:30:18 UTC
Updated
07 Oct 2026, 17:32:05 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
ZyXEL — NAS326V5.21(AAZF.7)C0 through V5.21(AAZF.7)C0 Affected Not stated certcc
ZyXEL — NAS520V5.21(AASZ.3)C0 through V5.21(AASZ.3)C0 Affected Not stated certcc
ZyXEL — NAS540V5.21(AATB.4)C0 through V5.21(AATB.4)C0 Affected Not stated certcc
ZyXEL — NAS542V5.21(ABAG.4)C0 through V5.21(ABAG.4)C0 Affected Not stated certcc
ZyXEL — NSA210all Affected Not stated certcc
ZyXEL — NSA220all Affected Not stated certcc
ZyXEL — NSA220+all Affected Not stated certcc
ZyXEL — NSA221all Affected Not stated certcc
Show 5 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
ZyXEL — NSA310V4.75(AALH.2)C0 through V4.75(AALH.2)C0 Affected Not stated certcc
ZyXEL — NSA320all Affected Not stated certcc
ZyXEL — NSA320SV4.75(AANV.2)C0 through V4.75(AANV.2)C0 Affected Not stated certcc
ZyXEL — NSA325V4.81(AAAJ.1)C0 through V4.81(AAAJ.1)C0 Affected Not stated certcc
ZyXEL — NSA325v2V4.81(AALS.1)C0 through V4.81(AALS.1)C0 Affected Not stated certcc

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

en · certcc · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.8 / 10
Severity
critical
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
ZyXEL NAS326 V5.21(AAZF.7)C0 through V5.21(AAZF.7)C0 (affected · custom) certcc · cna
ZyXEL NAS520 V5.21(AASZ.3)C0 through V5.21(AASZ.3)C0 (affected · custom) certcc · cna
ZyXEL NAS540 V5.21(AATB.4)C0 through V5.21(AATB.4)C0 (affected · custom) certcc · cna
ZyXEL NAS542 V5.21(ABAG.4)C0 through V5.21(ABAG.4)C0 (affected · custom) certcc · cna
ZyXEL NSA210 all (affected) certcc · cna
ZyXEL NSA220 all (affected) certcc · cna
ZyXEL NSA220+ all (affected) certcc · cna
ZyXEL NSA221 all (affected) certcc · cna
ZyXEL NSA310 V4.75(AALH.2)C0 through V4.75(AALH.2)C0 (affected · custom) certcc · cna
ZyXEL NSA320 all (affected) certcc · cna
ZyXEL NSA320S V4.75(AANV.2)C0 through V4.75(AANV.2)C0 (affected · custom) certcc · cna
ZyXEL NSA325 V4.81(AAAJ.1)C0 through V4.81(AAAJ.1)C0 (affected · custom) certcc · cna
ZyXEL NSA325v2 V4.81(AALS.1)C0 through V4.81(AALS.1)C0 (affected · custom) certcc · cna

Weaknesses

1
  • CWE-78 CWE-78 OS Command Injection (certcc · cna)

References

6

Provider assertions

3

certcc · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
626ae39aaf4a47865feabdcdf04f69e507833cf53397520471860d12c79c680f
Ingested
07 Oct 2026, 22:33:13 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected