CVE-2025-68271: Vulnerability in openc3
Critical. 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().
RubyGems, CWE-95
- Exploitation
- None confirmed
- Severity
- 10 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-w757-4qv9-mghp
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- Weakness
- CWE-95
- Published
- 13 Jan 2026
- Last change
- 17 Jun 2026
- Ecosystem
- RubyGems
Affected packages
Vulnerable version ranges and fixed releases
- openc3 RubyGems, Affected from 5.0.6 before 6.10.2. Fixed in 6.10.2
Advisories
Vendor and security advisories
- github.com/OpenC3/cosmos/security/advisories/GHSA-w757-4qv9-mghp
- github.com/rubysec/ruby-advisory-db/blob/master/gems/openc3/CVE-2025-68271.yml
Patches and fixes
Updates, commits and release notes