{"id":"CVE-2026-42088","published":"2026-05-04T17:21:27Z","modified":"2026-05-04T19:36:16Z","title":"OpenC3 COSMOS: Administrative Actions via the Script Runner Tool","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. Prior to version 7.0.0-rc3, the Script Runner widget allows users to execute Python and Ruby scripts directly from the openc3-COSMOS-script-runner-api container. Because all the docker containers share a network, users can execute specially crafted scripts to bypass the API permissions check and perform administrative actions, including reading and modifying data inside the Redis database, which can be used to read secrets and change COSMOS settings, as well as read and write to the buckets service, which holds configuration, log, and plugin files. These actions are normally only available from the Admin Console or with administrative privileges. Any user with permission to create and run scripts can connect to any service in the docker network. This issue has been patched in version 7.0.0-rc3.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.6,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00492,"percentile":0.35134,"provenance":"source"},"cwes":[{"id":"CWE-250","name":"Execution with Unnecessary Privileges"}],"references":[{"url":"https://github.com/OpenC3/cosmos/security/advisories/GHSA-2wvh-87g2-89hr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/OpenC3/cosmos/releases/tag/v7.0.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/OpenC3/cosmos/releases/tag/v7.0.0-rc3","tags":["x_refsource_MISC"]}],"priority":{"score":13.7,"factors":[{"name":"EPSS percentile","points":7.03},{"name":"CVSS severity","points":6.72}]},"vendorSlug":"openc3","affectedVersions":[{"vendor":"OpenC3","product":"cosmos","versions":["< 7.0.0-rc3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-05-04T19:35:35.722403Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"openc3","vulnerableRanges":["<7.0.0"],"patched":["7.0.0"],"from":["PYSEC-2026-2245"],"provenance":"source"}],"summary":{"text":"OpenC3 COSMOS (cosmos) prior to 7.0.0-rc3 has a flaw in the Script Runner widget, which runs Python and Ruby scripts from the openc3-COSMOS-script-runner-api container and can reach the other containers on the shared Docker network. An attacker who can create and run scripts (an authenticated user with script permission, and no further interaction needed) can craft scripts that bypass the API permissions check to perform administrative actions, such as reading and modifying the Redis database and the buckets service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:43:44Z"},"euvd":{"id":"EUVD-2026-27065","exploited":false,"provenance":"source"}}