---
id: CVE-2025-56123
title: >-
  OS Command Injection vulnerability in Ruijie RG-EW1200G PRO RG-EW1200G PRO
  V1.00/V2.00/V3.00/V4.00 allowing attackers to execute arbitrary commands via a
  crafted POST request to the module_get in file
  /usr/local/lua/dev_sta/networkConnec…
summary: >-
  OS Command Injection vulnerability in Ruijie RG-EW1200G PRO RG-EW1200G PRO
  V1.00/V2.00/V3.00/V4.00 allowing attackers to execute arbitrary commands via a
  crafted POST request to the module_get in file
  /usr/local/lua/dev_sta/networkConnec…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-78
vendor: ruijie
product: rg-ew1200g_pro_firmware
affected:
  - rg-ew1200g_pro_firmware
  - rg-ew1300g_firmware = ew_3.0(1)b11p303
published: '2025-12-11'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T20:10:01.970'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-56123'
references:
  - url: >-
      https://1drv.ms/f/c/12406a392c92914b/EkH0xWseMXBJg-Ck_uD34fcB-3pDo3MAQc2AKNlXqwYr2w?e=GU9l62
    label: cve@mitre.org
  - url: >-
      https://1drv.ms/t/c/12406a392c92914b/ERjNMNZRBD5HoYydt7Kb3kwBT4ycJXROxTsVBB-WXXqH6Q?e=q8Lcd2
    label: cve@mitre.org
  - url: >-
      https://github.com/flegoity/Ruijie-Multiple-Devices-Vulnerability-Reports-for-CVE/blob/main/CVE-2025-56123.md
    label: cve@mitre.org
tags:
  - nvd
epss: 0.02643
epssPercentile: 0.85111
ingestedAt: '2026-10-07T20:46:46.859Z'
---

## Overview

OS Command Injection vulnerability in Ruijie RG-EW1200G PRO RG-EW1200G PRO V1.00/V2.00/V3.00/V4.00 allowing attackers to execute arbitrary commands via a crafted POST request to the module_get in file /usr/local/lua/dev_sta/networkConnect.lua.

## Affected

- `rg-ew1200g_pro_firmware`
- `rg-ew1300g_firmware = ew_3.0(1)b11p303`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
