CVE-2025-56124 Command injection in n/a

High 7.8 Published Updated

Attackers can execute arbitrary commands on Ruijie X60 PRO routers via a crafted POST request to a specific Lua script endpoint.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-56124?

CVE-2025-56124 is a high-severity command injection vulnerability in n/a, published on 11 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

OS Command Injection vulnerability in Ruijie X60 PRO X60_10212014RG-X60 PRO V1.00/V2.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.

Weakness: CWE-78

Which versions are affected by CVE-2025-56124?

It affects 2 products.

Products include Ruijie Rg-Ew1200 Firmware, Ruijie Rg-X60 Pro Firmware.

How do I fix CVE-2025-56124?

No fix has been published for CVE-2025-56124 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2025-56124 being exploited?

There is no known exploitation of CVE-2025-56124 in the wild and no public exploit code.

Sources

Also known as GHSA-p2fg-j8w7-v5wj.

Is CVE-2025-56124 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free