Description
OpenC3 COSMOS provides the functionality needed to send commands to and receive data from one or more embedded systems. From 5.1.0 until 7.3.0, authenticated non-administrator users can write content under targets_modified/ that is later executed by multiple configuration paths below the intended code-execution privilege tier. Table and command or telemetry definitions are processed through ConfigParser, PacketConfig, GENERIC_READ_CONVERSION, or GENERIC_WRITE_CONVERSION, allowing ERB rendering or Ruby and Python evaluation, while openc3-cosmos-script-runner-api/scripts/run_suite_analysis.rb executes suite procedure files through require. Storage uploads, screen saves, and script creation can place content in the overlay, and triggering table processing, a cmd/tlm reload, or suite analysis executes the content in cmd-tlm-api, decom microservices, or Script Runner with access to internal credentials and data. This issue is fixed in version 7.3.0.
Published: 2026-09-23
Score: 9.9 Critical
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

OpenC3 COSMOS allows authenticated non‑administrator users to write arbitrary content under the overlay directory targets_modified/. That content is later parsed by configuration parsers, ERB templates, and Ruby/Python evaluation hooks, which results in the execution of arbitrary code. The vulnerability enables attackers to run shell commands, read or modify internal configuration files, and access credentials stored by COSMOS microservices, thereby compromising confidentiality, integrity, and availability of the entire COSMOS deployment.

Affected Systems

The affected product is OpenC3 COSMOS version 5.1.0 through 7.2.x. All releases prior to 7.3.0 contain the flaw and do not restrict the overlay write and execution privileges for non‑administrator users.

Risk and Exploitability

The CVSS score of 9.9 indicates critical severity. The EPSS score is not available, but the lack of a KEV listing does not diminish the vulnerability's inherent risk. An attacker only needs a legitimate non‑administrator COSMOS account and the ability to write to the overlay. After the write, triggering a table reload, command/telemetry reload, or suite analysis causes the overlay content to be executed with the privileges of the COSMOS microservices, which include access to internal credentials and data. Because of the low complexity and high impact, this vulnerability poses an imminent threat to any COSMOS installation that is still using a vulnerable version.

Generated by OpenCVE AI on September 23, 2026 at 20:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade OpenC3 COSMOS to version 7.3.0 or later, where the overlay execution paths are secured.
  • Restrict write permissions on the targets_modified/ directory to administrator accounts only, preventing non‑admin users from creating executable scripts.
  • If an upgrade cannot be performed immediately, disable or lock configuration reload operations and suite analysis from user access until the patch is applied to block the execution of user‑supplied overlay code.

Generated by OpenCVE AI on September 23, 2026 at 20:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-jjq7-m736-w977 OpenC3 COSMOS: Authenticated remote code execution via the user-writable config overlay (table definitions, cmd/tlm definitions, and script suites)
History

Wed, 23 Sep 2026 22:00:00 +0000

Type Values Removed Values Added
First Time appeared Openc3
Openc3 cosmos
Vendors & Products Openc3
Openc3 cosmos

Wed, 23 Sep 2026 19:15:00 +0000

Type Values Removed Values Added
Description OpenC3 COSMOS provides the functionality needed to send commands to and receive data from one or more embedded systems. From 5.1.0 until 7.3.0, authenticated non-administrator users can write content under targets_modified/ that is later executed by multiple configuration paths below the intended code-execution privilege tier. Table and command or telemetry definitions are processed through ConfigParser, PacketConfig, GENERIC_READ_CONVERSION, or GENERIC_WRITE_CONVERSION, allowing ERB rendering or Ruby and Python evaluation, while openc3-cosmos-script-runner-api/scripts/run_suite_analysis.rb executes suite procedure files through require. Storage uploads, screen saves, and script creation can place content in the overlay, and triggering table processing, a cmd/tlm reload, or suite analysis executes the content in cmd-tlm-api, decom microservices, or Script Runner with access to internal credentials and data. This issue is fixed in version 7.3.0.
Title OpenC3 COSMOS: Authenticated remote code execution via the user-writable config overlay (table definitions, cmd/tlm definitions, and script suites)
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-23T18:56:16.967Z

Reserved: 2026-08-20T20:48:20.507Z

Link: CVE-2026-77602

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-09-23T19:19:18.550

Modified: 2026-09-23T19:19:18.683

Link: CVE-2026-77602

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-23T21:45:02Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')