CVE-2022-30525: Zyxel Multiple Firewalls OS Command Injection Vulnerability
CVE-2022-30525 is a critical-severity flaw (CVSS 9.8) affecting usg flex 100w firmware, usg flex 200 firmware, usg flex 500 firmware, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
A OS command injection vulnerability in the CGI program of Zyxel USG FLEX 100(W) firmware versions 5.00 through 5.21 Patch 1, USG FLEX 200 firmware versions 5.00 through 5.21 Patch 1, USG FLEX 500 firmware versions 5.00 through 5.21 Patch 1, USG FLEX 700 firmware versions 5.00 through 5.21 Patch 1, USG FLEX 50(W) firmware versions 5.10 through 5.21 Patch 1, USG20(W)-VPN firmware versions 5.10 through 5.21 Patch 1, ATP series firmware versions 5.1
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 99.9% (top 1%) |
| CISA exploited list | Yes, fix due 2022-06-06 |
| Weakness | CWE-78 |
| Published | 2022-05-12 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: shuai06/CVE-2022-30525 (33 stars)
- GitHub PoC: jbaines-r7/victorian_machinery (30 stars)
- GitHub PoC: Henry4E36/CVE-2022-30525 (22 stars)
- GitHub PoC: 5l1v3r1/CVE-2022-30525-Reverse-Shell
- GitHub PoC: Chocapikk/CVE-2022-30525-Reverse-Shell
- Exploit-DB: Zyxel USG FLEX 5.21 - 'mtu' OS Command Injection
- Metasploit: Zyxel Firewall ZTP Unauthenticated Command Injection
- Nuclei scan template: Zyxel Firewall - OS Command Injection
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-30525?
usg flex 100w firmware: upgrade to 5.30; usg flex 200 firmware: upgrade to 5.30; usg flex 500 firmware: upgrade to newer than 5.30. Exact commands for each OS are on this page.
Is CVE-2022-30525 being exploited?
Yes. CVE-2022-30525 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2022-30525 affect?
CVE-2022-30525 affects usg flex 100w firmware, usg flex 200 firmware, usg flex 500 firmware. Severity is critical (CVSS 9.8). A OS command injection vulnerability in the CGI program of Zyxel USG FLEX 100(W) firmware versions 5.00 through 5.21 Patch 1, USG FLEX 200 firmware versions 5.00 through 5.21 Patch 1, USG FLEX 500 firmware versions 5.00 through 5.21 Patch 1
How urgent is CVE-2022-30525?
Priority 97/100. Critical severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2023-34141 HIGH 8.0 UPGRADE UPGRADE A command injection vulnerability in the access point (AP) management feature of the Zyxel ATP series firmware
- CVE-2023-34140 MEDIUM 6.5 UPGRADE UPGRADE A buffer overflow vulnerability in the Zyxel ATP series firmware versions 4.32 through 5.36 Patch 2, USG FLEX
- CVE-2023-34139 HIGH 8.8 UPGRADE UPGRADE A command injection vulnerability in the Free Time WiFi hotspot feature of the Zyxel USG FLEX series firmware
- CVE-2023-34138 HIGH 8.0 UPGRADE UPGRADE A command injection vulnerability in the hotspot management feature of the Zyxel ATP series firmware versions
- CVE-2023-33012 HIGH 8.8 UPGRADE UPGRADE A command injection vulnerability in the configuration parser of the Zyxel ATP series firmware versions 5.10 t