# CVE-2023-6398: A post-authentication command injection vulnerability in the file upload binary in Zyxel ATP series firmware versions f…

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.2
- **CVSS:** 7.2 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: High; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.93% (percentile 81, 2026-11-26)
- **CWE:** CWE-78
- **Published:** 2024-02-20T01:34:32.229Z
- **Modified:** 2026-06-17T06:50:41.073Z

## Who should check

- Anyone running Zyxel ATP series firmware version 4.32 through 5.37 Patch 1
- Anyone running Zyxel USG FLEX series firmware version 4.50 through 5.37 Patch 1
- Anyone running Zyxel USG FLEX 50(W) series firmware  version 4.16 through 5.37 Patch 1
- Anyone running Zyxel USG20(W)-VPN series firmware version 4.16 through 5.37 Patch 1
- Anyone running Zyxel NWA50AX firmware \< 6.29(ABYW.4)
- Anyone running Zyxel WAC500 firmware \< 6.70(ABVS.1)
- Anyone running Zyxel WAX300H firmware \< 6.70(ACHF.1)
- Anyone running Zyxel WBE660S firmware \< 6.70(ACGG.1)

## Description

A post-authentication command injection vulnerability in the file upload binary in Zyxel ATP series firmware versions from 4.32 through 5.37 Patch 1, USG FLEX series firmware versions from 4.50 through 5.37 Patch 1, USG FLEX 50(W) series firmware versions from 4.16 through 5.37 Patch 1, USG20(W)-VPN series firmware versions from 4.16 through 5.37 Patch 1, 

USG FLEX H series firmware versions from 1.10 through 1.10 Patch 1,

NWA50AX firmware versions through 6.29(ABYW.3), WAC500 firmware versions through 6.65(ABVS.1), WAX300H firmware versions through 6.60(ACHF.1), and WBE660S firmware versions through 6.65(ACGG.1) could allow an authenticated attacker with administrator privileges to execute some operating system (OS) commands on an affected device via FTP.

## Affected and fixed versions

- Zyxel ATP series firmware: version 4.32 through 5.37 Patch 1 (cvelist)
- Zyxel USG FLEX series firmware: version 4.50 through 5.37 Patch 1 (cvelist)
- Zyxel USG FLEX 50(W) series firmware:  version 4.16 through 5.37 Patch 1 (cvelist)
- Zyxel USG20(W)-VPN series firmware: version 4.16 through 5.37 Patch 1 (cvelist)
- Zyxel NWA50AX firmware: \< 6.29(ABYW.4) (cvelist)
- Zyxel WAC500 firmware: \< 6.70(ABVS.1) (cvelist)
- Zyxel WAX300H firmware: \< 6.70(ACHF.1) (cvelist)
- Zyxel WBE660S firmware: \< 6.70(ACGG.1) (cvelist)
- Zyxel USG FLEX H series firmware: version 1.10 through 1.10 Patch 1 (cvelist)

## Mitigation

- Upgrade NWA50AX firmware to 6.29(ABYW.4) or later.
- Upgrade WAC500 firmware to 6.70(ABVS.1) or later.
- Upgrade WAX300H firmware to 6.70(ACHF.1) or later.
- Upgrade WBE660S firmware to 6.70(ACGG.1) or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-6398. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-6398.md
Affected: Zyxel ATP series firmware version 4.32 through 5.37 Patch 1; Zyxel USG FLEX series firmware version 4.50 through 5.37 Patch 1; Zyxel USG FLEX 50(W) series firmware version 4.16 through 5.37 Patch 1; Zyxel USG20(W)-VPN series firmware version 4.16 through 5.37 Patch 1; Zyxel NWA50AX firmware < 6.29(…
Fixed in: Zyxel NWA50AX firmware 6.29(ABYW.4), Zyxel WAC500 firmware 6.70(ABVS.1), Zyxel WAX300H firmware 6.70(ACHF.1), Zyxel WBE660S firmware 6.70(ACGG.1)

Steps:
1. Search this machine and project for Zyxel ATP series firmware, Zyxel USG FLEX series firmware, Zyxel USG FLEX 50(W) series firmware, Zyxel USG20(W)-VPN series firmware, Zyxel NWA50AX firmware, Zyxel WAC500 firmware: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-6398 being exploited?

There is no confirmed exploitation: CVE-2023-6398 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.93% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-6398?

High: CVSS 7.2 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2023-6398?

Zyxel ATP series firmware version 4.32 through 5.37 Patch 1; Zyxel USG FLEX series firmware version 4.50 through 5.37 Patch 1; Zyxel USG FLEX 50(W) series firmware  version 4.16 through 5.37 Patch 1; Zyxel USG20(W)-VPN series firmware version 4.16 through 5.37 Patch 1; Zyxel NWA50AX firmware \< 6.29(ABYW.4); Zyxel WAC500 firmware \< 6.70(ABVS.1); Zyxel WAX300H firmware \< 6.70(ACHF.1); Zyxel WBE660S firmware \< 6.70(ACGG.1); Zyxel USG FLEX H series firmware version 1.10 through 1.10 Patch 1.

### Is there a fix for CVE-2023-6398?

Yes. Fixed in Zyxel NWA50AX firmware 6.29(ABYW.4), Zyxel WAC500 firmware 6.70(ABVS.1), Zyxel WAX300H firmware 6.70(ACHF.1), Zyxel WBE660S firmware 6.70(ACGG.1). Upgrade NWA50AX firmware to 6.29(ABYW.4) or later. Upgrade WAC500 firmware to 6.70(ABVS.1) or later. Upgrade WAX300H firmware to 6.70(ACHF.1) or later. Upgrade WBE660S firmware to 6.70(ACGG.1) or later.

### How do I check if I'm affected by CVE-2023-6398?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://www.zyxel.com/global/en/support/security-advisories/zyxel-security-advisory-for-multiple-vulnerabilities-in-firewalls-and-aps-02-20-2024>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-6398>

HTML: <https://flawdb.com/CVE-2023-6398> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-6398>
