CVE-2026-77602
OpenC3 COSMOS - Authenticated remote code execution via the user-writable config overlay (table definitions, cmd/tlm definitions, and script suites)
Severity by source
Trivy's own label is CRITICAL. Rated critical by GHSA, Ruby Advisory DB.
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| rubygems::GitHub Security Advisory RubyGems | openc3 | 7.3.0 |
| rubygems::Ruby Advisory Database | openc3 | >= 7.2.1 |
References
- https://advisories.gitlab.com/gem/openc3/CVE-2026-77602
- https://github.com/OpenC3/cosmos
- https://github.com/OpenC3/cosmos/commit/71943352a28128ef3e7e894319d97a656b5cd4f2
- https://github.com/OpenC3/cosmos/commit/7a1538a4626f82c0d1540fcaa27ffdcbbd71ff81
- https://github.com/OpenC3/cosmos/pull/3488
- https://github.com/OpenC3/cosmos/releases/tag/v7.2.1
- https://github.com/OpenC3/cosmos/security/advisories/GHSA-jjq7-m736-w977
- https://github.com/advisories/GHSA-jjq7-m736-w977