CVE-2025-56091CWE-78command-injection

CVE-2025-56091

High · published December 11, 2025

CVSS v3.1
8.8
EPSS
3%
Percentile
86.9
In the wild
Unconfirmed
What it is

⚡ A single crafted POST request can trigger an OS command injection on the Ruijie RG-EW1800GX! This flaw lets attackers run arbitrary commands, and that’s definitely not good news! 🔥 Think of it as someone slipping a secret note into a restaurant’s kitchen that instructs the chef to whip up a dish nobody ordered. If they accept the note without checking it, who knows what might get cooked up! An attacker could exploit this vulnerability to execute any command on the affected system. This could lead to a complete takeover of the device, allowing the bad actor to manipulate network configurations, access sensitive data, or even disrupt services. The potential chaos is absolutely devastating!

Put simply

Think of it as someone slipping a secret note into a restaurant’s kitchen that instructs the chef to whip up a dish nobody ordered. If they accept the note without checking it, who knows what might get cooked up! This OS Command Injection vulnerability exists in the Ruijie RG-EW1800GX, specifically through the 'module_set' endpoint in the config_retain.lua file. By sending a specially crafted POST request, an attacker can run arbitrary commands on the server.

What to do

An attacker could exploit this vulnerability to execute any command on the affected system. This could lead to a complete takeover of the device, allowing the bad actor to manipulate network configurations, access sensitive data, or even disrupt services. The potential chaos is absolutely devastating! To mitigate this risk, update the device to the latest firmware version provided by Ruijie. Restrict access to sensitive modules and sanitize inputs to ensure that only expected commands are processed. Regularly audit your configurations for compliance and security. You've got this! Fixing this vulnerability will strengthen your network security and keep those pesky attackers at bay. 🛡️

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02913 · 86.9th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2025-12-11T23:16Z
Affected products (2)
ProductVersionsFixed in
ruijie/rg-ew1800gx_firmwareall versions—
ruijie/rg-ew300r_firmwareall versions—
References (3)
EPSS history
Timeline
  • 11 DEC 00:00Z
    OS Command Injection vulnerability in Ruijie RG-EW1800GX B11P226_EW1800GX_10223121 allowing attackers to execute arbitrary commands via a crafted POST request…
    cvelistv5