CVE-2025-56085 Command injection in n/a

High 8.8 Published Updated

Attackers can execute arbitrary commands on Ruijie RG-EW1200 routers via a crafted POST request to the configuration module.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-56085?

CVE-2025-56085 is a high-severity command injection vulnerability in n/a, published on 11 Dec 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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

Weakness: CWE-78

Which versions are affected by CVE-2025-56085?

It affects 2 products.

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

How do I fix CVE-2025-56085?

No fix has been published for CVE-2025-56085 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-56085 being exploited?

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

Sources

Also known as GHSA-4w99-2gw3-w2p9.

Is CVE-2025-56085 in your software?

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

Check your SBOMs for free