CVE-2025-40591 Command injection in RUGGEDCOM ROX MX5000
Authenticated attackers can inject commands into the Log Viewers tool to execute code as root and read arbitrary files on RUGGEDCOM ROX devices.
- 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-40591?
CVE-2025-40591 is a high-severity command injection vulnerability in Siemens RUGGEDCOM ROX MX5000, published on 10 Jun 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability has been identified in RUGGEDCOM ROX MX5000 (All versions < V2.16.5), RUGGEDCOM ROX MX5000RE (All versions < V2.16.5), RUGGEDCOM ROX RX1400 (All versions < V2.16.5), RUGGEDCOM ROX RX1500 (All versions < V2.16.5), RUGGEDCOM ROX RX1501 (All versions < V2.16.5), RUGGEDCOM ROX RX1510 (All versions < V2.16.5), RUGGEDCOM ROX RX1511 (All versions < V2.16.5), RUGGEDCOM ROX RX1512 (All versions < V2.16.5), RUGGEDCOM ROX RX1524 (All versions < V2.16.5), RUGGEDCOM ROX RX1536 (All versions < V2.16.5), RUGGEDCOM ROX RX5000 (All versions < V2.16.5). The 'Log Viewers' tool in the web interface of affected devices is vulnerable to command injection due to missing server side input sanitation. This could allow an authenticated remote attacker to execute the 'tail' command with root privileges and disclose contents of all files in the filesystem.
Weakness: CWE-602
Which versions are affected by CVE-2025-40591?
How do I fix CVE-2025-40591?
No fix has been published for CVE-2025-40591 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-40591 being exploited?
There is no known exploitation of CVE-2025-40591 in the wild and no public exploit code.
Sources
Also known as GHSA-5hq7-95mx-pcjq.