---
id: CVE-2025-56091
title: >-
  OS Command Injection vulnerability in Ruijie RG-EW1800GX
  B11P226_EW1800GX_10223121 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.
summary: >-
  OS Command Injection vulnerability in Ruijie RG-EW1800GX
  B11P226_EW1800GX_10223121 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.
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-ew1800gx_firmware
affected:
  - rg-ew1800gx_firmware = 3.0(1)b11p226
  - rg-ew300r_firmware = 3.0(1)b11p301
published: '2025-12-11'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T20:10:00.190'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-56091'
references:
  - url: >-
      https://1drv.ms/f/c/12406a392c92914b/EgUg1zJuaItDmLxZhkCg4B8BcJTRYnXyX4ePIIjNoZrRew?e=a23cK6
    label: cve@mitre.org
  - url: >-
      https://1drv.ms/t/c/12406a392c92914b/EdiWfxSbC0pAu_oksKjm2xgBXSCavYBBJt8V51JkcH4Dsw?e=OhOVCN
    label: cve@mitre.org
  - url: >-
      https://github.com/flegoity/Ruijie-Multiple-Devices-Vulnerability-Reports-for-CVE/blob/main/CVE-2025-56091.md
    label: cve@mitre.org
tags:
  - nvd
epss: 0.02913
epssPercentile: 0.8674
ingestedAt: '2026-10-14T20:53:12.275Z'
---

## Overview

OS Command Injection vulnerability in Ruijie RG-EW1800GX B11P226_EW1800GX_10223121 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-ew1800gx_firmware = 3.0(1)b11p226`
- `rg-ew300r_firmware = 3.0(1)b11p301`

## Remediation

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