CVE-2026-42088: OpenC3 COSMOS: Administrative Actions via the Script Runner Tool
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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-42088?
CVE-2026-42088 is considered a high severity vulnerability due to the potential for unauthorized administrative actions.
How do I fix CVE-2026-42088?
To fix CVE-2026-42088, update OpenC3 COSMOS to version 7.0.0-rc4 or later.
What types of systems are affected by CVE-2026-42088?
CVE-2026-42088 affects OpenC3 COSMOS versions prior to 7.0.0-rc3.
Can CVE-2026-42088 allow remote code execution?
Yes, CVE-2026-42088 permits users to execute unauthorized scripts, which can lead to remote code execution.
Who is responsible for the CVE-2026-42088 vulnerability?
The responsibility for CVE-2026-42088 lies with OpenC3 and its development team.