Ruijie RG-EW1200
CVE-2025-56086
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to router web interface
-
DeliverySend crafted POST to module_get in networkConnect.lua
-
ExploitInject shell metacharacters into OS command
-
ExecutionExecute arbitrary commands on device
-
ImpactFull device compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires authenticated access (PR:L) to the device management interface to reach the vulnerable module_get handler in /usr/local/lua/dev_sta/networkConnect.lua via a crafted POST request; exploitation is network-reachable and needs no user interaction. Limiting factors: the attacker must first obtain at least low-privilege credentials or a valid session, so exposure is materially higher where the web/management interface is internet-facing or protected only by default/weak credentials; impact is confined to the affected Ruijie RG-EW1200 (firmware 3.0(1)B11P227) and RG-X60 (firmware 3.0(1)B11P237) models. |
| Impact | This is a credible mid-tier priority rather than an emergency. The CVSS vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 8.8) describes remote, low-complexity exploitation requiring only low-level authentication (PR:L) and no user interaction, with total compromise of confidentiality, integrity, and availability - consistent with OS command injection (CWE-78) yielding device-level code execution. Signals partially reinforce each other: publicly available exploit code exists (POC), and the EPSS score of 2.91% sits at the 87th percentile - elevated relative to most CVEs, indicating above-average exploitation interest, but still an absolute probability under 3%. There is no CISA KEV listing, so there is no confirmation of active exploitation in the wild; POC availability and a moderately high EPSS percentile are distinct from confirmed exploitation and should not be conflated. The main mitigating factor is PR:L: an attacker needs valid (even low-privilege) credentials or an authenticated session to the device management interface, which tempers the 'network' vector. Net assessment: a real and patchable risk for exposed Ruijie consumer/SMB routers - especially where default or weak credentials or internet-exposed management are present - but not a mass-exploitation crisis absent KEV confirmation. |
| Exploit ScenarioDerived | An attacker with low-privilege access to the router's web management interface (e.g., via default/weak credentials or an exposed management port) sends a crafted POST request to the module_get handler in /usr/local/lua/dev_sta/networkConnect.lua, injecting shell metacharacters that are passed unsanitized to an OS command. This yields arbitrary command execution on the device, enabling full takeover. Public exploit code is available, lowering the barrier to reproduction. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 14, 2026
Authenticated OS command injection in Ruijie RG-EW1200 (firmware 3.0(1)B11P227) and RG-X60 (firmware 3.0(1)B11P237) routers lets a network-reachable attacker who already holds low-privilege credentials run arbitrary commands on the device by sending a crafted POST request to the module_get handler in /usr/local/lua/dev_sta/networkConnect.lua. Publicly available exploit code exists and the EPSS score is 2.91% (87th percentile), but there is no confirmed active exploitation (the CVE is not in CISA KEV). Impact per the assessed vector is high - full loss of confidentiality, integrity, and availability on the affected device - yet exploitation first requires valid credentials or a session, so this is a credible mid-tier priority rather than an emergency.
RemediationAI
No vendor-released patch was identified at time of analysis, so operators should treat this as a mitigation-only situation until Ruijie publishes fixed firmware for the RG-EW1200 and RG-X60. Track the public report at https://github.com/flegoity/Ruijie-Multiple-Devices-Vulnerability-Reports-for-CVE/blob/main/CVE-2025-56086.md and Ruijie's advisories for a corrected build. Specific compensating controls, with trade-offs: (1) immediately change default/weak administrative credentials and enforce strong unique passwords, since the flaw requires authenticated access (PR:L) - this raises the bar but does not protect against stolen or shared accounts; (2) remove the management/web interface from internet exposure by disabling remote/WAN web administration and restricting access to a trusted internal management VLAN or by IP allow-list - this blocks remote exploitation but also limits legitimate remote administration; (3) on RG-X60 devices, verify whether the vulnerable module_get/networkConnect.lua path can be disabled or blocked at the web server layer if it is not required for normal operation, understanding that disabling handlers may break status/network-connectivity pages; (4) segment and monitor router management traffic, and log POST requests to the module_get endpoint for command-injection indicators, since detection is the fallback when no patch exists. Reassess exposure urgently only if the management interface is internet-facing or still using default credentials.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a CWE-78 OS command injection in Ruijie's embedded router web stack. The affected code lives in /usr/local/lua/dev_sta/networkConnect.lua, a Lua handler that is reached through the module_get action, and it passes attacker-influenced input into a shell command without adequate sanitization, allowing command execution with the privileges of the web service. The CVSS 3.1 vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H shows the attack is network-reachable, low complexity, requires low privileges, needs no user interaction, and stays scoped to the device while fully compromising confidentiality, integrity, and availability. CPE data pins the affected firmware to cpe:2.3:o:ruijie:rg-ew1200_firmware:3.0(1)b11p227 and cpe:2.3:o:ruijie:rg-x60_firmware:3.0(1)b11p237, i.e. two distinct router models sharing the vulnerable Lua codebase. This class of flaw is common in embedded device management planes, where Lua or CGI handlers wrap user input into system() style calls and expose the router to full takeover once the management interface is reachable.
Know when Rg Ew1200 Firmware gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Network-reachable POST to a web handler with low-privilege auth (PR:L) and no user interaction; command injection yields full device code execution, so C/I/A all High.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
OS Command Injection vulnerability in Ruijie RG-EW1200 EW_3.0(1)B11P227_EW1200_11130208RG-EW1200 V1.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.
Executive ViewAI
Ruijie RG-EW1200 and RG-X60 wireless routers - networking gear commonly deployed in branch offices, retail sites, and home-office setups - contain a high-severity flaw (CVE-2025-56086) that allows a user with valid low-privilege credentials to run arbitrary commands on the device, resulting in complete loss of confidentiality, integrity, and availability on that unit. Publicly available exploit code exists and no vendor patch has been identified, so any exposed device remains exploitable by anyone who can reach it and obtain or guess credentials. Leadership should care because these devices typically sit inside the trusted network perimeter: an attacker who gains control can pivot, intercept traffic, or establish persistence well beyond a single access point.
No vendor-released patch identified at time of analysis. Interim mitigations: segregate affected routers onto dedicated VLANs isolated from corporate and OT networks; disable WAN-side and remote management, exposing the administrative interface only from a trusted management segment; enforce strong, unique credentials and remove default or shared accounts to deny the low-privilege foothold the exploit requires; restrict which roles can reach the /usr/local/lua/dev_sta/networkConnect.lua module_get handler; monitor and alert on anomalous POST requests to that handler and on unexpected command execution or outbound connections from router management IPs; and prioritize replacement with vendor-supported hardware where isolation cannot be guaranteed.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Affected Products (CPE)CVE.org
More in Rg Ew1200 Firmware
View allRuijie Networks RG-EW1200 Wireless Routers EW_3.0(1)B11P204 was discovered to contain a command injetion vulnerability v
Command injection in Ruijie RG-EW1200 and RG-EW300 Pro router firmware lets authenticated network attackers execute arbi
OS command injection in Ruijie X60 PRO firmware (V1.00/V2.00, build X60_10212014RG) lets an authenticated remote attacke
A command injection vulnerability in RG-EW series home routers and repeaters v.EW_3.0(1)B11P219, RG-NBS and RG-S1930 ser
Authenticated command execution in Ruijie X60 PRO router firmware (RG-X60 PRO V1.00/V2.00, build 1.021.2014, with RG-EW1
Remote code execution vulnerability in Ruijie Networks Product: RG-EW series home routers and repeaters EW_3.0(1)B11P204
NVD
CVE.org
EPSS
GitHub
Exploit-DB