Vulnerability · Published May 4, 2026 · Assigned by GitHub_M
CVE-2026-42088OpenC3 COSMOS: Administrative Actions via the Script Runner Tool
Critical 9.6
In plain English
A critical-severity security flaw in cosmos from OpenC3. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | openc3 | 7.0.0 | PYSEC-2026-2245 |
| RubyGems | openc3 | 7.0.0-rc3 | GHSA-2wvh-87g2-89hr |
Affected products (as reported)
Weakness: CWE-250 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
References
- https://github.com/OpenC3/cosmos/security/advisories/GHSA-2wvh-87g2-89hr x_refsource_CONFIRM
- https://github.com/OpenC3/cosmos/releases/tag/v7.0.0 x_refsource_MISC
- https://github.com/OpenC3/cosmos/releases/tag/v7.0.0-rc3 x_refsource_MISC