Advisory

GHSA-w757-4qv9-mghp

Also known as: CVE-2025-68271

Summary

openc3-api Vulnerable to Unauthenticated Remote Code Execution

Details

Summary
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).

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2026-01-13 19:01 UTC
Modified
2026-02-03 02:56 UTC

Affected packages and fixes

openc3

RubyGems · All systems

Affected

  • introduced 5.0.6, fixed 6.10.2 (ecosystem)

Fixed versions

6.10.2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences