Unauthenticated Remote Code Execution in openc3-api
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-95.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| OpenC3 | cosmos | 5.0.0 to before 6.10.2 | 6.10.2 | Patch available | CNA |
| — | openc3 (RubyGems) | 5.0.6 to before 6.10.2 | 6.10.2 | Patch available | GHSA-w757-4qv9-mghp |
- cosmos VendorOpenC3 Affected 5.0.0 to before 6.10.2 Fixed in 6.10.2 Patch available CNA
- openc3 (RubyGems) Vendor— Affected 5.0.6 to before 6.10.2 Fixed in 6.10.2 Patch available GHSA-w757-4qv9-mghp
Remediation
- Fix · CNA cosmos (OpenC3) Fixed in 6.10.2
- Fix · GHSA-w757-4qv9-mghp openc3 (RubyGems) Fixed in 6.10.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-68271
- 2026-10-03 Alias added: GHSA-w757-4qv9-mghp
- 2026-10-21 EPSS moved to the 50th–90th percentile
References
More OpenC3 vulnerabilities
- TI-2025-20781 Weak password requirements in OpenC3 COSMOS v6.0.0 allow attackers to bypass authentication via a brute force attack. CVSS 3.1CRITICAL 9.8
- TI-2025-20780 OpenC3 COSMOS before v6.0.2 was discovered to contain hardcoded credentials for the Service Account. CVSS 3.1CRITICAL 9.8
- TI-2025-20779 A remote code execution (RCE) vulnerability in the Plugin Management component of OpenC3… CVSS 3.1CRITICAL 9.8
- TI-2025-20778 An issue in the /script-api/scripts/ endpoint of OpenC3 COSMOS before 6.1.0 allows… CVSS 3.1CRITICAL 9.1
- TI-2026-54090 Code injection in OpenC3 cosmos CVSS 3.1CRITICAL 9.9
- TI-2026-30456 OpenC3 COSMOS: Administrative Actions via the Script Runner Tool CVSS 3.1CRITICAL 9.6
Sources
- CVE-2025-68271 · CVE Program
- CVE-2025-68271 · NVD
- FIRST EPSS
- GHSA-w757-4qv9-mghp · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences