---
title: "CVE-2025-68271: openc3-api Vulnerable to Unauthenticated Remote Code Execution"
url: https://erroneo.us/security/cve/CVE-2025-68271/
description: "CVE-2025-68271 (openc3 (RubyGems)): OpenC3 COSMOS provides the functionality needed to send commands to and receive data from one or more embedded systems.…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-01-13
date_modified: 2026-01-14
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2025-68271"
kev: false
cvss: 10
epss: 0.00642
license: All rights reserved. Quote with attribution and a link.
---

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

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 0.6% , percentile 50: FIRST’s model estimates a 0.6% chance of exploitation activity in the next 30 days, higher than 50% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes openc3 (RubyGems) >= 5.0.6, < 6.10.2, fixed in 6.10.2 . Check your lockfile, including transitive dependencies.

## What it is

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#converttovalue. For array-like inputs, converttovalue 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.

## Affected packages

- RubyGems `openc3` >= 5.0.6, < 6.10.2 → fixed: 6.10.2

## Affected products (CVE record)

- OpenC3 cosmos: >= 5.0.0, < 6.10.2

## Severity

- GitHub_M CVSS 3.1: 10 `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 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.64% probability of exploitation activity in the next 30 days; percentile 50.

## Sources

- [GitHub Advisory GHSA-w757-4qv9-mghp](https://github.com/advisories/GHSA-w757-4qv9-mghp)
- [CVE.org record CVE-2025-68271](https://www.cve.org/CVERecord?id=CVE-2025-68271)
- [NVD entry CVE-2025-68271](https://nvd.nist.gov/vuln/detail/CVE-2025-68271)
- [github.com](https://github.com/OpenC3/cosmos/security/advisories/GHSA-w757-4qv9-mghp)
- [github.com](https://github.com/OpenC3/cosmos/commit/01e9fbc5e66e9a2500b71a75a44775dd1fc2d1de)
- [github.com](https://github.com/rubysec/ruby-advisory-db/blob/master/gems/openc3/CVE-2025-68271.yml)

---
Source page: https://erroneo.us/security/cve/CVE-2025-68271/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
