{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2025-40591 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-40591 yet. Limit exposure of the affected software until one is available.","what":"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."},"fix_prompt":"Check this codebase for CVE-2025-40591 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2025-40591 in the wild and no public exploit code.\n\nAffected product: Siemens RUGGEDCOM ROX MX5000. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-40591/ (Markdown: https://insights.sbomify.com/CVE-2025-40591/index.md)","id":"CVE-2025-40591","markdown":"https://insights.sbomify.com/CVE-2025-40591/index.md","name":"CVE-2025-40591","record":{"aliases":["GHSA-5hq7-95mx-pcjq"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"RUGGEDCOM ROX router","requires_auth":"low_privilege","summary":"Authenticated attackers can inject commands into the Log Viewers tool to execute code as root and read arbitrary files on RUGGEDCOM ROX devices.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"siemens","cpe":[],"cvss":{"score":8.3,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-602","name":"Client-Side Enforcement of Server-Side Security"}],"description":"A vulnerability has been identified in RUGGEDCOM ROX MX5000 (All versions \u003c V2.16.5), RUGGEDCOM ROX MX5000RE (All versions \u003c V2.16.5), RUGGEDCOM ROX RX1400 (All versions \u003c V2.16.5), RUGGEDCOM ROX RX1500 (All versions \u003c V2.16.5), RUGGEDCOM ROX RX1501 (All versions \u003c V2.16.5), RUGGEDCOM ROX RX1510 (All versions \u003c V2.16.5), RUGGEDCOM ROX RX1511 (All versions \u003c V2.16.5), RUGGEDCOM ROX RX1512 (All versions \u003c V2.16.5), RUGGEDCOM ROX RX1524 (All versions \u003c V2.16.5), RUGGEDCOM ROX RX1536 (All versions \u003c V2.16.5), RUGGEDCOM ROX RX5000 (All versions \u003c 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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Command injection in RUGGEDCOM ROX MX5000","id":"CVE-2025-40591","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2025"},"n_packages":0,"n_references":1,"next":{"headline":"Path traversal in Mendix Studio Pro 10","id":"CVE-2025-40592"},"packages":[],"prev":{"headline":"Cross-site scripting in Polarion V2404","id":"CVE-2025-40587"},"products":["RUGGEDCOM ROX MX5000","RUGGEDCOM ROX MX5000RE","RUGGEDCOM ROX RX1400","RUGGEDCOM ROX RX1500","RUGGEDCOM ROX RX1501","RUGGEDCOM ROX RX1510","RUGGEDCOM ROX RX1511","RUGGEDCOM ROX RX1512","RUGGEDCOM ROX RX1524","RUGGEDCOM ROX RX1536","RUGGEDCOM ROX RX5000"],"published":"2025-06-10","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-06-10","vendors":["Siemens"]},"summary":"Authenticated attackers can inject commands into the Log Viewers tool to execute code as root and read arbitrary files on RUGGEDCOM ROX devices.","url":"https://insights.sbomify.com/CVE-2025-40591/"}