CVE-2025-56097 Command injection in n/a

High 8.8 Published Updated

Attackers can execute arbitrary commands on Ruijie RG-EW1800GX PRO 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-56097?

CVE-2025-56097 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-EW1800GX PRO B11P226_EW1800GX-PRO_10223117 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-56097?

It affects 2 products.

Products include Ruijie Rg-Ew1800gx Pro Firmware, Ruijie Rg-Ew300n Firmware.

How do I fix CVE-2025-56097?

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

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

Sources

Also known as GHSA-v39p-mr3f-pfvm.

Is CVE-2025-56097 in your software?

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

Check your SBOMs for free