Remote Code Execution Vulnerability in OpenC3 COSMOS by OpenC3
CVE-2025-68271
10CRITICAL
What is CVE-2025-68271?
OpenC3 COSMOS, versions 5.0.0 to 6.10.1, has a remote code execution vulnerability that can be exploited via the JSON-RPC API. This issue arises when certain API requests allow attacker-controlled parameter text to be parsed. The vulnerable method, String#convert_to_value, can execute arbitrary Ruby code due to the use of the eval() function. An unauthenticated attacker may exploit this flaw to run commands on the system before the authorization check occurs. This vulnerability has been addressed in version 6.10.2.
Affected Version(s)
cosmos >= 5.0.0, < 6.10.2
