CVE-2020-9054
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
Published Updated Sources: NVD, ZyXEL (CNA), CISA, FIRST EPSS, GitHub, GitHub Security Advisory, SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Confirmed
CISA KEV, listed Mar 25, 2022
EPSS
100%
top of FIRST's scoreset
CVSS base
9.8
critical · 2 sources
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
Active
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Remediation
The vendor's own words where we have them.
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.
CISA required action
Apply updates per vendor instructions.
Federal deadline Apr 15, 2022 — passed 1,694 days ago
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Treat as emergency remediation because CISA KEV status is present.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Zyxel | NAS326 | V5.21(AAZF.7)C0 | Vulnerable |
| Zyxel | NAS520 | V5.21(AASZ.3)C0 | Vulnerable |
| Zyxel | NAS540 | V5.21(AATB.4)C0 | Vulnerable |
| Zyxel | NAS542 | V5.21(ABAG.4)C0 | Vulnerable |
| Zyxel | NSA210 | all | Vulnerable |
| Zyxel | NSA220 | all | Vulnerable |
| Zyxel | NSA220+ | all | Vulnerable |
| Zyxel | NSA221 | all | Vulnerable |
| Zyxel | NSA310 | V4.75(AALH.2)C0 | Vulnerable |
| Zyxel | NSA320 | all | Vulnerable |
| Zyxel | NSA320S | V4.75(AANV.2)C0 | Vulnerable |
| Zyxel | NSA325 | V4.81(AAAJ.1)C0 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
High
Confidentiality
High
Integrity
High
Scope
Unchanged
Attack Complexity
Low
Attack Vector
Network
Privileges Req
None
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.8 | CVSS 3.1 | critical | 3.9 | 5.9 | NVD, CNA, GHSA |
| 10.0 | CVSS 2.0 | high | 10 | 10 | NVD |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
- Execute Unauthorized Code or Commands
- DoS: Crash, Exit, or Restart
- Read Files or Directories
- Modify Files or Directories
Mitigation: If at all possible, use library calls rather than external processes to recreate the desired functionality.
Weakness & attack patterns
- CWE-78OS Command Injection
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
CISA KEV details
CISA lists a CVE here once it has evidence of exploitation against real targets.
Listed
Mar 25, 2022
Federal deadline
Apr 15, 2022
passed 1,694 days ago
Ransomware use
Unknown
CISA records ransomware use only for campaigns it has confirmed, so “Unknown” means unrecorded, not ruled out. The deadline binds US federal agencies; for everyone else it is a date to argue against.
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
21
2 of the 5 sampled are weaponized
Exploit entries
8
Exploit-DB and CTI exploit indexes
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Prioritize edge telemetry for network-reachable NAS326, NAS520, NAS540, NAS542, NSA210, NSA220, NSA220+, NSA221, NSA310, NSA320, NSA320S, NSA325, NSA325v2.
- Monitor for scanner or exploit-pattern traffic after 29 public PoC repositories were reported.
Groups associated with this CVE
Groups reported in connection with this vulnerability. A reported association, not a confirmed observation of that group using it — and not scoped to any sector or campaign.
- ip74.194.191.5277
blocklist.net.ua-Firehol · May 5, 2025
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Added · CVSS 3.1 9.8 (AV:N)
Oct 8, 2026 · NVD
- 2025
Bulletin released on NIST.
Oct 16, 2025 · SOCRadar CTI
Bulletin released on NIST.
Oct 16, 2025 · SOCRadar CTI
Bulletin released on Mitre.
Jul 28, 2025 · SOCRadar CTI
Bulletin released on NIST.
Feb 7, 2025 · SOCRadar CTI
- 2023
CVE is exploited. "Ostorlab/KEV"
Dec 26, 2023 · SOCRadar CTI
CVE is exploited. "ARPSyndicate/cvemon"
Dec 11, 2023 · SOCRadar CTI
CVE is exploited. "HimmelAward/Goby_POC"
Dec 11, 2023 · SOCRadar CTI
CVE is exploited. "Ostorlab/known_exploited_vulnerbilities_detectors"
Dec 11, 2023 · SOCRadar CTI
CVE is exploited. "darrenmartyn/CVE-2020-9054"
Dec 11, 2023 · SOCRadar CTI
CVE is exploited. "nomi-sec/PoC-in-GitHub"
Dec 11, 2023 · SOCRadar CTI
CVE is exploited. "soosmile/POC"
Dec 11, 2023 · SOCRadar CTI
- 2022
Added · GHSA-w6h5-rjp3-hxvc published (high)
May 24, 2022 · GitHub Security Advisory
Added to CISA KEV catalog
Mar 25, 2022 · CISA
CVE is exploited. "Zyxel Multiple NAS Devices OS Command Injection Vulnerability"
Mar 25, 2022 · SOCRadar CTI
- 2020
Initial · CVE published
Mar 4, 2020 · NVD
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 13×Github ReposMar 30, 2021 – Dec 11, 2023 · SOCRadar CTI
- 2×TweetsJun 8, 2023 – Apr 4, 2025 · SOCRadar CTI
- 1×CVE modified by NIST: CVSS v2 metrics updated.Feb 7, 2025 · SOCRadar CTI
- 1×SVRS is calculated.Jul 4, 2022 · SOCRadar CTI
References
8 on the record
- cwe.mitre.org/data/definitions/78.html
Third Party Advisory, NIST, MITRE_REFERENCES
- kb.cert.org/artifacts/cve-2020-9054.html
Third Party Advisory, US Government Resource, NIST, MITRE_REFERENCES, GITHUB
- kb.cert.org/vuls/id/498544/
Third Party Advisory, US Government Resource, Vendor Advisory, NIST, Mitre, GITHUB
- krebsonsecurity.com/2020/02/zyxel-fixes-0day-in-network-storage-devices/
Exploit, Third Party Advisory, Vendor Advisory, NIST, MITRE_REFERENCES, GITHUB
- www.zyxel.com/support/remote-code-execution-vulnerability-of-NAS-products.shtml
Vendor Advisory, NIST, MITRE_REFERENCES
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-9054
US Government Resource
- nvd.nist.gov/vuln/detail/CVE-2020-9054
NVD, Vendor Advisory
- github.com/advisories/GHSA-w6h5-rjp3-hxvc
Exploit, Third Party Advisory
Coverage
1 story from the feeds we poll
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-105134 Ahsay AhsayCBS Replication Receiver UpdateReceivers.do os command injectionCVSS 10.0 · CISA KEV
- CVE-2026-49869 Kestra: Unauthenticated Remote Code Execution via Authentication Bypass in `AuthenticationFilter`CVSS 10.0 · CISA KEV
- CVE-2026-16812 VeloCloud Orchestrator OS Command InjectionCVSS 10.0 · CISA KEV
- CVE-2026-10520 Ivanti Sentry OS Command Injection VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2014-6278 GNU Bash OS Command Injection VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2026-133323 Mitel MiCollab OS Command Injection VulnerabilityCVSS 9.8 · CISA KEV
Elsewhere on this site
- Zyxelevery CVE for this vendor
- NAS326every page on this product
- NAS520every page on this product
- March 2022what else CISA listed
- Remote Code Execsame class
- CWE-78other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- Only the 1 indicator(s) reported for this CVE are available; no packet-level or host-forensic artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2020-9054 is ZyXEL NAS products running firmware version 5.21 and earlier are vulnerable to pre-authentication command injection in weblogin.cgi, a critical vulnerability affecting NAS326, NAS520, NAS540, NAS542, NSA210, NSA220, NSA220+, NSA221, NSA310, NSA320, NSA320S, NSA325, NSA325v2 from Zyxel. The current evidence lists it in CISA KEV, and the exploit status is: Yes: CISA KEV signal present. Public exploit evidence is: 29 public PoC repositories reported; 2 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 9.8 describes technical severity, while EPSS 100% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.
