# CVE-2025-68271: Unauthenticated Remote Code Execution in openc3-api

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 51% of CVEs (2026-12-02)
- Published: 2026-01-13T18:32:21.905Z
- Modified: 2026-06-17T09:58:50.680Z
- Also known as: GHSA-w757-4qv9-mghp
- Weaknesses: CWE-95
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- OpenC3 cosmos: >= 5.0.0, < 6.10.2
- openc3 (RubyGems): from 5.0.6 before 6.10.2

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/OpenC3/cosmos/security/advisories/GHSA-w757-4qv9-mghp> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-68271> (advisory)
- <https://github.com/OpenC3/cosmos/commit/01e9fbc5e66e9a2500b71a75a44775dd1fc2d1de> (web)
- <https://github.com/OpenC3/cosmos> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/openc3/CVE-2025-68271.yml> (web)

## Sources

- CVE List: [CVE-2025-68271](https://www.cve.org/CVERecord?id=CVE-2025-68271), CVE Terms of Use, modified 2026-01-13
- GitHub Advisory Database: [GHSA-w757-4qv9-mghp](https://github.com/advisories/GHSA-w757-4qv9-mghp), CC-BY-4.0, modified 2026-02-03
- NVD: [CVE-2025-68271](https://nvd.nist.gov/vuln/detail/CVE-2025-68271), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-68271 · Whole record: https://cve.day/CVE-2025-68271.json · Rebuilt by cve.day 2026-11-25T22:59:10.580Z
