GHSA-w757-4qv9-mghp

Suggest an improvement
Source
https://github.com/advisories/GHSA-w757-4qv9-mghp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-w757-4qv9-mghp/GHSA-w757-4qv9-mghp.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-w757-4qv9-mghp
Aliases
Published
2026-01-13T19:01:49Z
Modified
2026-01-13T21:51:42.299424Z
Severity
  • 10.0 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
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#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).

Database specific
{
    "cwe_ids": [
        "CWE-95"
    ],
    "severity": "CRITICAL",
    "nvd_published_at": "2026-01-13T19:16:14Z",
    "github_reviewed": true,
    "github_reviewed_at": "2026-01-13T19:01:49Z"
}
References

Affected packages

RubyGems / openc3

Package

Name
openc3
Purl
pkg:gem/openc3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.0.6
Fixed
6.10.2

Affected versions

5.*

5.0.6
5.0.7
5.0.8
5.0.9
5.0.10
5.0.11
5.1.0
5.1.1
5.2.0
5.3.0
5.4.0
5.4.1
5.4.2
5.4.3.pre.beta0
5.5.0.pre.beta0
5.5.0
5.5.1
5.5.2.pre.beta0
5.5.2
5.6.0
5.6.1
5.7.0
5.7.2
5.8.0
5.8.1
5.9.0
5.9.1
5.10.0
5.10.1
5.11.0
5.11.1
5.11.2
5.11.3
5.12.0
5.13.0
5.14.0
5.14.1
5.14.2
5.15.0
5.15.1
5.15.2
5.16.0
5.16.1
5.16.2
5.17.0
5.17.1
5.18.0
5.19.0
5.20.0

6.*

6.0.0
6.0.1
6.0.2
6.1.0
6.2.0
6.2.1
6.3.0
6.4.0
6.4.1
6.4.2
6.5.0
6.5.1
6.6.0
6.7.0
6.8.0
6.8.1
6.9.0
6.9.1
6.9.2
6.10.0
6.10.1

Database specific

source

"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-w757-4qv9-mghp/GHSA-w757-4qv9-mghp.json"