Security Advisory

CVE-2023-27992: Zyxel NAS Pre-Auth Command Injection

Last updated:
  • CVE-2023-27992

CVE-2023-27992 is a pre-authentication OS command injection (CWE-78) in the firmware of the Zyxel NAS326, NAS540 and NAS542 network storage devices: a crafted HTTP request runs OS commands without a login. Zyxel scores it 9.8, NVD has no Primary score, and CISA KEV lists it. Install V5.21(AAZF.14)C0, V5.21(AATB.11)C0 or V5.21(ABAG.11)C0.

Vulnerability summary

CVSS base score

9.8

Critical severity (CNA: Zyxel)

EPSS score (FIRST)

82.3%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

Yes

Listed as known exploited

Published

Vulnerability ID: CVE-2023-27992 · Source: NVD (Zyxel CNA score only, no NVD Primary CVSS metric)

Affected components

ComponentCPEVersion range
Zyxel NAS326cpe:2.3:o:zyxel:nas326_firmware:*:*:*:*:*:*:*:*V5.21(AAZF.13)C0 and earlier; fixed in V5.21(AAZF.14)C0
Zyxel NAS540cpe:2.3:o:zyxel:nas540_firmware:*:*:*:*:*:*:*:*V5.21(AATB.10)C0 and earlier; fixed in V5.21(AATB.11)C0
Zyxel NAS542cpe:2.3:o:zyxel:nas542_firmware:*:*:*:*:*:*:*:*V5.21(ABAG.10)C0 and earlier; fixed in V5.21(ABAG.11)C0

What does this mean for affected devices?

NVD carries Zyxel's description: "The pre-authentication command injection vulnerability in the Zyxel NAS326 firmware versions prior to V5.21(AAZF.14)C0, NAS540 firmware versions prior to V5.21(AATB.11)C0, and NAS542 firmware versions prior to V5.21(ABAG.11)C0 could allow an unauthenticated attacker to execute some operating system (OS) commands remotely by sending a crafted HTTP request." As of 2026-11-24 NVD shows the record as Analyzed with CWE-78 and a CPE configuration, but with no Primary CVSS metric of its own; the only CVSS score is Zyxel's CNA score, v3.1 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H). The KEV listing qualifies this page. Zyxel is the CNA; the record was published on 2023-06-19 (NVD, CVE record).

Which NAS firmware is affected and fixed?

Zyxel's security advisory for CVE-2023-27992, released on 2023-06-20, lists the models "within their vulnerability support period": NAS326 V5.21(AAZF.13)C0 and earlier, fixed in V5.21(AAZF.14)C0; NAS540 V5.21(AATB.10)C0 and earlier, fixed in V5.21(AATB.11)C0; and NAS542 V5.21(ABAG.10)C0 and earlier, fixed in V5.21(ABAG.11)C0. Zyxel credits Andrej Zaujec, NCSC-FI and Maxim Suslov. NVD's CPE ranges match these fixed builds. The advisory does not discuss models outside the support period, so older NAS units are not covered by this fix.

What should you do?

Install the fixed V5.21 build for your model, and keep the NAS web interface off the internet, because the request needs no login (internet-exposed management interfaces). CISA added CVE-2023-27992 to the KEV catalog on 2023-06-23 with the required action "Apply updates per vendor instructions." (due 2023-07-14; 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.82264, the 99.67th percentile, in the 2026-11-23 dataset (FIRST EPSS). The fix pattern is in how to fix command injection in embedded firmware. The same NAS models were hit before and after: CVE-2020-9054 (weblogin.cgi) and CVE-2024-29973 (setCookie).

How to fix this class of issueThis advisory's weakness class is Command injection. Our practical guide covers how to detect, fix, verify and disclose it: How to fix command injection in embedded firmware.

Evidence

  • NVD: pre-authentication command injection in NAS326 before V5.21(AAZF.14)C0, NAS540 before V5.21(AATB.11)C0, NAS542 before V5.21(ABAG.11)C0; status Analyzed; no NVD Primary CVSS metric; Zyxel CNA CVSS v3.1 9.8 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (Secondary); CWE-78 (NVD Primary weakness, Zyxel Secondary); CPE ranges match fixed builds; published 2023-06-19; read 2026-11-24. — NVD
  • Zyxel advisory (initial release 2023-6-20): pre-authentication command injection in some NAS versions; NAS326 V5.21(AAZF.13)C0 and earlier fixed in V5.21(AAZF.14)C0; NAS540 V5.21(AATB.10)C0 and earlier fixed in V5.21(AATB.11)C0; NAS542 V5.21(ABAG.10)C0 and earlier fixed in V5.21(ABAG.11)C0; products within vulnerability support period; thanks Andrej Zaujec, NCSC-FI, and Maxim Suslov. — Zyxel security advisory
  • CVE record: state PUBLISHED, CNA Zyxel, published 2023-06-19. — CVE.org
  • KEV catalog version 2026.11.23: dateAdded 2023-06-23, required action 'Apply updates per vendor instructions.', due 2023-07-14, knownRansomwareCampaignUse Unknown, CWE-78; checked 2026-11-24. — CISA KEV
  • EPSS 0.82264, percentile 0.99667, dataset 2026-11-23, read 2026-11-24. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. Zyxel security advisory for pre-authentication command injection vulnerability in NAS products
  3. CVE.org record CVE-2023-27992 (CNA: Zyxel)
  4. CISA KEV
  5. FIRST EPSS

Frequently asked questions

Which firmware fixes CVE-2023-27992?

NAS326 V5.21(AAZF.14)C0, NAS540 V5.21(AATB.11)C0 and NAS542 V5.21(ABAG.11)C0 (per Zyxel's advisory of 2023-06-20 and NVD's CPE ranges).

What is the CVSS score of CVE-2023-27992?

Zyxel, the CNA, scores it CVSS v3.1 9.8 with no privileges or user interaction required. As of 2026-11-24 NVD lists no Primary CVSS metric of its own for this record, though it has analysed it and assigned CWE-78 (per NVD).

Is CVE-2023-27992 exploited?

Yes. CISA added it to KEV on 2023-06-23, three days after Zyxel's advisory, and it is listed as of 2026-11-24 in catalog version 2026.11.23 with known ransomware use marked Unknown. FIRST EPSS gives 0.82264 (99.67th percentile) in the 2026-11-23 dataset (per CISA KEV and FIRST EPSS).

Are older Zyxel NAS models covered?

Zyxel's advisory lists only the NAS326, NAS540 and NAS542, the models within their vulnerability support period. It gives no fix for other models (per Zyxel).