---
id: CVE-2025-56090
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_set in file
  /usr/local/lua/dev_config/config_ret…
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_set in file
  /usr/local/lua/dev_config/config_ret…
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-ew1200r_firmware = ew_3.0(1)b11p301
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-56090'
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/EfSHWqE3N11FpgQsV1BlZk0BxXIhFQjIp_xmJYIq1APvrw?e=JCIm6k
    label: cve@mitre.org
  - url: >-
      https://github.com/flegoity/Ruijie-Multiple-Devices-Vulnerability-Reports-for-CVE/blob/main/CVE-2025-56090.md
    label: cve@mitre.org
tags:
  - nvd
epss: 0.02913
epssPercentile: 0.86563
ingestedAt: '2026-10-07T20:46:46.857Z'
---

## 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_set in file /usr/local/lua/dev_config/config_retain.lua.

## Affected

- `rg-ew1200g_pro_firmware`
- `rg-ew1200r_firmware = ew_3.0(1)b11p301`

## Remediation

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