{"id":"CVE-2026-77602","published":"2026-09-23T18:56:16Z","modified":"2026-09-29T02:09:19Z","title":"OpenC3 COSMOS: Authenticated remote code execution via the user-writable config overlay (table definitions, cmd/tlm…","vendor":"OpenC3","product":"cosmos","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.9,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00775,"percentile":0.52206,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/OpenC3/cosmos/security/advisories/GHSA-jjq7-m736-w977","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/OpenC3/cosmos/pull/3488","tags":["x_refsource_MISC"]},{"url":"https://github.com/OpenC3/cosmos/commit/71943352a28128ef3e7e894319d97a656b5cd4f2","tags":["x_refsource_MISC"]},{"url":"https://github.com/OpenC3/cosmos/commit/7a1538a4626f82c0d1540fcaa27ffdcbbd71ff81","tags":["x_refsource_MISC"]}],"priority":{"score":17.4,"factors":[{"name":"EPSS percentile","points":10.44},{"name":"CVSS severity","points":6.93}]},"vendorSlug":"openc3","affectedVersions":[{"vendor":"OpenC3","product":"cosmos","versions":[">= 5.1.0, < 7.3.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-09-29T02:08:58.163563Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"openc3","vulnerableRanges":[">=5.1.0, <7.3.0"],"patched":["7.3.0"],"from":["GHSA-jjq7-m736-w977"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-85566","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-openc3-cosmos-cve-2024-43795","parents":[{"from":"CVE-2024-46977","to":"CVE-2026-77602","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["openc3-cosmos-cmd-tlm-api/app/controllers/storage_controller.rb","openc3-cosmos-cmd-tlm-api/app/controllers/tables_controller.rb","openc3-cosmos-script-runner-api/app/controllers/application_controller.rb","openc3-cosmos-script-runner-api/app/controllers/scripts_controller.rb"],"commits":["https://github.com/OpenC3/cosmos/commit/a34e61aea5a465f0ab3e57d833ae7ff4cafd710b","https://github.com/OpenC3/cosmos/commit/71943352a28128ef3e7e894319d97a656b5cd4f2","https://github.com/OpenC3/cosmos/commit/7a1538a4626f82c0d1540fcaa27ffdcbbd71ff81"],"basis":"shared function","functions":["authorization","body","generate","save","save_as"]}]},{"from":"CVE-2024-47529","to":"CVE-2026-77602","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["openc3-cosmos-script-runner-api/app/controllers/scripts_controller.rb"],"commits":["https://github.com/OpenC3/cosmos/commit/b5ab34fe7fa54c0c8171c4aa3caf4e03d6f63bd7","https://github.com/OpenC3/cosmos/commit/71943352a28128ef3e7e894319d97a656b5cd4f2","https://github.com/OpenC3/cosmos/commit/7a1538a4626f82c0d1540fcaa27ffdcbbd71ff81"],"basis":"rarely changed file"}]},{"from":"CVE-2025-28382","to":"CVE-2026-77602","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["openc3-cosmos-script-runner-api/app/controllers/application_controller.rb"],"commits":["https://github.com/OpenC3/cosmos/commit/fc7e11310a7cdf9f1939886e1b29009db4d4b718","https://github.com/OpenC3/cosmos/commit/71943352a28128ef3e7e894319d97a656b5cd4f2","https://github.com/OpenC3/cosmos/commit/7a1538a4626f82c0d1540fcaa27ffdcbbd71ff81"],"basis":"shared function","functions":["authorization"]}]},{"from":"CVE-2025-28384","to":"CVE-2026-77602","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["openc3-cosmos-script-runner-api/app/controllers/application_controller.rb"],"commits":["https://github.com/OpenC3/cosmos/commit/fc7e11310a7cdf9f1939886e1b29009db4d4b718","https://github.com/OpenC3/cosmos/commit/71943352a28128ef3e7e894319d97a656b5cd4f2","https://github.com/OpenC3/cosmos/commit/7a1538a4626f82c0d1540fcaa27ffdcbbd71ff81"],"basis":"shared function","functions":["authorization"]}]}],"packageHistory":[{"cve":"CVE-2026-42087","published":"2026-05-04","fixed":"7.0.0-rc3","kev":false},{"cve":"CVE-2026-42086","published":"2026-05-04","fixed":"7.0.0","kev":false,"link":{"from":"CVE-2026-42086","to":"CVE-2026-77602","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:openc3","fromFixed":"7.0.0","toFixed":"7.3.0","daysApart":142}]}},{"cve":"CVE-2026-77601","published":"2026-09-23","fixed":"7.3.0","kev":false},{"cve":"CVE-2026-77602","published":"2026-09-23","fixed":"7.3.0","kev":false}],"package":"RubyGems:openc3"}}