RCE in Openc3 Cosmos
CVE-2025-68271
OpenC3 COSMOS provides the functionality needed to send commands to and receive data from one or more embedded systems. From 5.0.0 to 6.10.1, OpenC3 COSMOS contains a critical remote code execution vulnerability reachable through the JSON-RPC API. When a JSON-RPC request uses the string form of certain APIs, attacker-controlled parameter text is parsed into values using String#convert_to_value. For array-like inputs, convert_to_value executes eval(). Because the cmd code path parses the command string before calling authorize(), an unauthenticated attacker can trigger Ruby code execution even though the request ultimately fails authorization (401). This vulnerability is fixed in 6.10.2.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 10.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.006 (48.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 49th percentile — 48.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.006 · change: +0.001
Affected products
- Openc3 Cosmos — versions >= 5.0.0, < 6.10.2
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2025-68271?
- CVE-2025-68271 is a critical-severity vulnerability in Openc3 Cosmos, classified under Eval Injection. CVSS score: 10.0/10. Published 2026-01-13.
- How severe is CVE-2025-68271?
- Critical severity. CVSS v3 base score is 10.0 out of 10.