CVE-2026-77602

OpenC3 COSMOS: Authenticated remote code execution via the user-writable config overlay (table definitions, cmd/tlm definitions, and script suites)

Published Sep 23, 2026 CVSS 3.1 · 9.9 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Openc3
Openc3 cosmos
Vendors & Products Openc3
Openc3 cosmos
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'}

Weaknesses
  • CWE-94

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 29, 2026, 2:09 AM
Reserved
Aug 20, 2026, 8:48 PM
Status
Deferred
Published
Sep 23, 2026, 7:19 PM
Modified
Sep 29, 2026, 3:17 AM