CVE-2022-30525 is an OS command injection (CWE-78) in the CGI program of Zyxel USG FLEX, ATP, USG20(W)-VPN and VPN firewalls on ZLD V5.21 Patch 1 and earlier. Rapid7 showed unauthenticated remote code execution through the Zero Touch Provisioning handler. NVD scores it 9.8 and CISA KEV lists it. Update to ZLD V5.30 or later.
Vulnerability summary
CVSS base score
9.8
Critical severity
EPSS score (FIRST)
99.9%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
Yes
Listed as known exploited
Published
Vulnerability ID: CVE-2022-30525 · Source: NVD
Affected components
| Component | CPE | Version range |
|---|---|---|
| Zyxel USG FLEX 100(W), 200, 500, 700 | cpe:2.3:o:zyxel:usg_flex_200_firmware:*:*:*:*:*:*:*:* | ZLD V5.00 through V5.21 Patch 1; fixed in ZLD V5.30 (Zyxel) |
| Zyxel USG FLEX 50(W), USG20(W)-VPN and ATP series | cpe:2.3:o:zyxel:atp100_firmware:*:*:*:*:*:*:*:* | ZLD V5.10 through V5.21 Patch 1; fixed in ZLD V5.30 (Zyxel) |
| Zyxel VPN series | cpe:2.3:o:zyxel:vpn100_firmware:*:*:*:*:*:*:*:* | ZLD V4.60 through V5.21 Patch 1; fixed in ZLD V5.30 (Zyxel); Rapid7 reported the VPN series as not vulnerable |
What does this mean for affected devices?
NVD describes the flaw as an OS command injection "in the CGI program" of Zyxel firewalls "which could allow an attacker to modify specific files and then execute some OS commands on a vulnerable device." NVD's Primary score is CVSS v3.1 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), and its Primary CVSS v2 score is 10.0. Zyxel, the CNA, gives the same 9.8 and CWE-78. The record was published on 2022-05-12 (NVD, CVE record).
Which firewalls and firmware are affected?
Zyxel's security advisory for CVE-2022-30525 lists USG FLEX 100(W), 200, 500 and 700 on ZLD V5.00 through V5.21 Patch 1; USG FLEX 50(W), USG20(W)-VPN and the ATP series on V5.10 through V5.21 Patch 1; and the VPN series on V4.60 through V5.21 Patch 1. All are fixed in ZLD V5.30. Jake Baines of Rapid7 found the bug; Rapid7's disclosure describes unauthenticated command execution, as the nobody user, through the administrative HTTP interface's Zero Touch Provisioning handler (/ztp/cgi-bin/handler) and counted more than 15,000 affected models visible on Shodan. Two differences are worth knowing. Rapid7 says the VPN series is not vulnerable because it lacks the required function, while Zyxel's table includes it, so patch VPN units as well. And Rapid7's timeline records that Zyxel shipped the patches on 2022-04-28 without telling the reporter; Zyxel's advisory calls this a "miscommunication" during coordination. NVD's CPE ranges end at 5.30 exclusive, except USG FLEX 500, which NVD writes as "up to and including 5.30"; the vendor's fixed version is 5.30.
What should you do?
Update to ZLD V5.30 or later. Rapid7 also advises enabling automatic firmware updates and disabling WAN access to the administrative web interface (internet-exposed management interfaces). CISA added CVE-2022-30525 to the KEV catalog on 2022-05-16 with the required action "Apply updates per vendor instructions." (due 2022-06-06; known ransomware campaign use: Unknown); it is still listed as of 2026-11-24 in catalog version 2026.11.23 (CISA KEV). FIRST EPSS gives 0.99944, the 99.97th percentile, in the 2026-11-23 dataset (FIRST EPSS). The fix pattern is in how to fix command injection in embedded firmware. Other KEV-listed flaws in the same firewall firmware: CVE-2023-28771 (IKE) and CVE-2024-11667 (path traversal).
Evidence
- NVD: OS command injection in CGI program of USG FLEX 100(W)/200/500/700 5.00-5.21 Patch 1, USG FLEX 50(W) and USG20(W)-VPN 5.10-5.21 Patch 1, ATP 5.10-5.21 Patch 1, VPN 4.60-5.21 Patch 1; NVD Primary CVSS v3.1 9.8 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; NVD Primary CVSS v2 10.0; Zyxel CNA 9.8 Secondary; CWE-78; CPE ranges end at 5.30 exclusive except usg_flex_500 versionEndIncluding 5.30; status Analyzed; published 2022-05-12. — NVD
- Zyxel advisory (initial release 2022-05-12): command injection in CGI program of some firewall versions; USG FLEX 100(W)/200/500/700 ZLD V5.00-V5.21 Patch 1, USG FLEX 50(W)/USG20(W)-VPN V5.10-V5.21 Patch 1, ATP V5.10-V5.21 Patch 1, VPN V4.60-V5.21 Patch 1; patch ZLD V5.30; thanks Rapid7; 'miscommunication during the disclosure coordination process'. — Zyxel security advisory
- Rapid7 blog (2022-05-12): found by Jake Baines; affects firewalls supporting Zero Touch Provisioning; unauthenticated remote command injection via /ztp/cgi-bin/handler, commands run as nobody; VPN series not vulnerable per Rapid7; more than 15,000 affected models visible on Shodan; timeline: disclosed 2022-04-13, Zyxel released patches 2022-04-28 without coordination; remediation: apply patch, enable automatic firmware updates, disable WAN access to administrative web interface. — Rapid7
- CVE record: state PUBLISHED, CNA Zyxel, published 2022-05-12. — CVE.org
- KEV catalog version 2026.11.23: dateAdded 2022-05-16, required action 'Apply updates per vendor instructions.', due 2022-06-06, knownRansomwareCampaignUse Unknown, CWE-78; checked 2026-11-24. — CISA KEV
- EPSS 0.99944, percentile 0.99973, dataset 2026-11-23, read 2026-11-24. — FIRST EPSS

Related advisories
Sources
Frequently asked questions
Which firmware fixes CVE-2022-30525?
ZLD V5.30 for all listed series: USG FLEX 100(W), 200, 500, 700, USG FLEX 50(W), USG20(W)-VPN, ATP and VPN (per Zyxel's advisory of 2022-05-12).
Is the Zyxel VPN series affected by CVE-2022-30525?
Zyxel lists the VPN series on ZLD V4.60 through V5.21 Patch 1 as affected and fixed in V5.30. Rapid7 reported the VPN series as not vulnerable because it lacks the required function. Follow the vendor table and update VPN units too (per Zyxel and Rapid7).
Does CVE-2022-30525 need a login?
No. Rapid7 demonstrated unauthenticated remote command execution through the administrative HTTP interface, with commands running as the nobody user, and NVD's vector uses no privileges (PR:N) for 9.8 (per Rapid7 and NVD).
Is CVE-2022-30525 exploited?
Yes. CISA added it to KEV on 2022-05-16, four days after disclosure, and it is listed as of 2026-11-24 in catalog version 2026.11.23. FIRST EPSS gives 0.99944 (99.97th percentile) in the 2026-11-23 dataset (per CISA KEV and FIRST EPSS).
Questions about this page?