Security Advisory

CVE-2022-0342: Zyxel USG/ATP/VPN Firewall Auth Bypass

Last updated:
  • CVE-2022-0342

CVE-2022-0342 is an authentication bypass in the CGI program of Zyxel USG/ZyWALL, USG FLEX, ATP, VPN and NSG firewalls: an attacker can skip the web login and get administrative access to the device. NVD and Zyxel both score it 9.8. Zyxel fixed it in ZLD V4.71, V5.21 Patch 1 (USG FLEX, ATP), V5.21 (VPN) and NSG V1.33 Patch 5.

Vulnerability summary

CVSS base score

9.8

Critical severity

EPSS score (FIRST)

12.1%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

Vulnerability ID: CVE-2022-0342 · Source: NVD

CVSS v3.1 severity rating scale: None 0.0, Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9, Critical 9.0 to 10.0
How a CVSS v3.1 base score maps to a severity rating. Source: FIRST CVSS v3.1 specification, section 5.

Affected components

ComponentCPEVersion range
Zyxel USG/ZyWALL series (NVD CPEs: USG40, USG40W, USG60, USG60W, ZyWALL 110, 310, 1100)cpe:2.3:o:zyxel:usg40_firmware:*:*:*:*:*:*:*:*ZLD V4.20 through V4.70; fixed in ZLD V4.71 (Zyxel)
Zyxel USG FLEX series (USG FLEX 100, 100W, 200, 500, 700)cpe:2.3:o:zyxel:usg_flex_100_firmware:*:*:*:*:*:*:*:*ZLD V4.50 through V5.20; fixed in ZLD V5.21 Patch 1
Zyxel ATP series (ATP100, 100W, 200, 500, 700, 800)cpe:2.3:o:zyxel:atp100_firmware:*:*:*:*:*:*:*:*ZLD V4.32 through V5.20; fixed in ZLD V5.21 Patch 1
Zyxel VPN series (VPN50, VPN100, VPN300, VPN1000)cpe:2.3:o:zyxel:vpn50_firmware:*:*:*:*:*:*:*:*ZLD V4.30 through V5.20; fixed in ZLD V5.21
Zyxel NSG series (NVD CPE: NSG300)cpe:2.3:o:zyxel:nsg300_firmware:*:*:*:*:*:*:*:*V1.20 through V1.33 Patch 4; fixed in V1.33 Patch 5 (hotfix V1.33p4_WK11 from Zyxel support)

What does this mean for affected devices?

NVD's description, from Zyxel as CNA: "An authentication bypass vulnerability in the CGI program of Zyxel USG/ZyWALL series firmware versions 4.20 through 4.70, USG FLEX series firmware versions 4.50 through 5.20, ATP series firmware versions 4.32 through 5.20, VPN series firmware versions 4.30 through 5.20, and NSG series firmware versions V1.20 through V1.33 Patch 4, which could allow an attacker to bypass the web authentication and obtain administrative access of the device" (NVD, CVE record). It sits in the firewall section of the Zyxel firewall, NAS and DSL CPE vulnerability guide.

How severe is CVE-2022-0342?

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), with CVSS v2 7.5 (AV:N/AC:L/Au:N/C:P/I:P/A:P). Zyxel, the CNA, gives the same 9.8 vector. NVD and Zyxel map the weakness to CWE-287, improper authentication. Administrative access to a perimeter firewall means control of its rules, VPN users and logs.

Which firmware fixes it?

Zyxel's security advisory (initial release 2022-03-29, revised 2022-05-27 for the NSG patch plan) attributes the flaw to "the lack of a proper access control mechanism" in the CGI program and lists the fixes for products in their warranty and support period:

Series Affected firmware Fixed firmware
USG/ZyWALL ZLD V4.20 to V4.70 ZLD V4.71
USG FLEX ZLD V4.50 to V5.20 ZLD V5.21 Patch 1
ATP ZLD V4.32 to V5.20 ZLD V5.21 Patch 1
VPN ZLD V4.30 to V5.20 ZLD V5.21
NSG V1.20 to V1.33 Patch 4 V1.33 Patch 5; hotfix V1.33p4_WK11 from Zyxel support

Zyxel credits Alessandro Sgreccia of Tecnical Service Srl, and Roberto Garcia H and Victor Garcia R of Innotec Security. NVD's CPE configuration lists the USG40, USG40W, USG60, USG60W, ZyWALL 110, 310 and 1100, USG FLEX 100, 100W, 200, 500 and 700, ATP100, 100W, 200, 500, 700 and 800, VPN50, 100, 300 and 1000, and NSG300.

Is CVE-2022-0342 exploited?

It is not in the CISA KEV catalog as of 2026-11-28 (catalog version 2026.11.27, CISA KEV). FIRST EPSS gives 0.1207, the 96.84th percentile, in the 2026-11-27 dataset (FIRST EPSS); in the daily datasets up to 2026-11-24 the score was 0.95134, and it dropped on 2026-11-25. Exploited flaws in the same firewall families include the ZTP command injection CVE-2022-30525, the IKE command injection CVE-2023-28771 and the zyfwp hard-coded account CVE-2020-29583. For the class fix see how to fix authentication bypass in embedded firmware; for ranking a non-KEV flaw with a high EPSS score see KEV and EPSS vulnerability prioritization.

Three signals on every advisory: CVSS says how severe the flaw is, EPSS gives the probability of exploitation in the wild in the next 30 days, and a CISA KEV listing means the flaw has been exploited in the wild
CVSS rates severity, EPSS estimates the likelihood of exploitation, and CISA KEV records exploitation seen in the wild. Source: FIRST EPSS; CISA KEV catalog.
How to fix this class of issueThis advisory's weakness class is Authentication bypass. Our practical guide covers how to detect, fix, verify and disclose it: How to fix authentication bypass in embedded firmware.
From advisory to verified fix in four steps: read the advisory, find the affected component in the firmware SBOM, apply the fixed version or vendor mitigation, then re-scan the image to confirm the vulnerable version is gone
Read the advisory, find the component in your firmware SBOM, apply the fix, then re-scan to confirm it.

Evidence

  • NVD (read 2026-11-28): status Modified, published 2022-03-28; NVD Primary 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 CVSS v2 7.5; Zyxel Secondary 9.8 same vector; CWE-287 (NVD and Zyxel); CPEs for USG/ZyWALL 4.20 to before 4.71, USG FLEX and ATP up to and including 5.20, VPN 4.30 to before 5.21, NSG300 1.20 to 1.33 p4. — NVD
  • CVE record: CNA Zyxel, PUBLISHED 2022-03-28; CVSS 3.1 9.8; affected USG/ZyWALL 4.20 through 4.70, USG FLEX 4.50 through 5.20, ATP 4.32 through 5.20, and further series. — CVE Services
  • Zyxel advisory: lack of proper access control in CGI program; fixes ZLD V4.71 (USG/ZyWALL), V5.21 Patch 1 (USG FLEX, ATP), V5.21 (VPN), NSG hotfix V1.33p4_WK11 via local support and standard patch V1.33 Patch 5; credits Alessandro Sgreccia (Tecnical Service Srl), Roberto Garcia H and Victor Garcia R (Innotec Security); initial release 2022-03-29, updated 2022-05-27. — Zyxel
  • Not in KEV catalog version 2026.11.27, checked 2026-11-28. — CISA KEV
  • EPSS 0.1207, percentile 0.96844, dataset 2026-11-27; time series shows 0.95134 through 2026-11-24 and 0.1207 from 2026-11-25; read 2026-11-28. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. Zyxel security advisory for authentication bypass vulnerability of firewalls
  3. CVE record CVE-2022-0342 (CVE Services JSON, CNA: Zyxel)
  4. CISA KEV
  5. FIRST EPSS

Frequently asked questions

Which Zyxel firewalls are affected by CVE-2022-0342?

USG/ZyWALL on ZLD V4.20 to V4.70, USG FLEX on V4.50 to V5.20, ATP on V4.32 to V5.20, VPN on V4.30 to V5.20, and NSG on V1.20 to V1.33 Patch 4 (per Zyxel's advisory and NVD).

Which firmware fixes CVE-2022-0342?

ZLD V4.71 for USG/ZyWALL, ZLD V5.21 Patch 1 for USG FLEX and ATP, ZLD V5.21 for VPN, and V1.33 Patch 5 for NSG; Zyxel support also issued an NSG hotfix, V1.33p4_WK11 (per Zyxel's advisory).

What can an attacker do with CVE-2022-0342?

Bypass the web authentication and obtain administrative access to the firewall, without valid credentials. NVD and Zyxel both score it CVSS v3.1 9.8 (per NVD and Zyxel).

Is CVE-2022-0342 in the CISA KEV catalog?

No, not as of 2026-11-28 (catalog 2026.11.27). FIRST EPSS gives 0.1207 (96.84th percentile) in the 2026-11-27 dataset, down from 0.95134 in the datasets up to 2026-11-24 (per CISA KEV and FIRST EPSS).