|
| 1 | +--- |
| 2 | +layout: advisory |
| 3 | +title: 'GHSA-2wvh-87g2-89hr (openc3): OpenC3 COSMOS - Permissions Bypass Provides |
| 4 | + User Access to Unassigned Administrative Actions via Script Runner Tool' |
| 5 | +comments: false |
| 6 | +categories: |
| 7 | +- openc3 |
| 8 | +advisory: |
| 9 | + gem: openc3 |
| 10 | + ghsa: 2wvh-87g2-89hr |
| 11 | + url: https://github.com/OpenC3/cosmos/security/advisories/GHSA-2wvh-87g2-89hr |
| 12 | + title: OpenC3 COSMOS - Permissions Bypass Provides User Access to Unassigned Administrative |
| 13 | + Actions via Script Runner Tool |
| 14 | + date: 2026-04-23 |
| 15 | + description: |- |
| 16 | + Vulnerability Type: Execution with Unnecessary Privileges Attack |
| 17 | + type: Authenticated remote |
| 18 | +
|
| 19 | + Impact: Data disclosure/manipulation, privilege escalation |
| 20 | +
|
| 21 | + Affected components: |
| 22 | +
|
| 23 | + * The following docker images: Openc3inc/openc3-COSMOS-script-runner-api |
| 24 | +
|
| 25 | + The Script Runner widget allows users to execute Python and Ruby |
| 26 | + scripts directly from the openc3-COSMOS-script-runner-api container. |
| 27 | + Because all the docker containers share a network, users can execute |
| 28 | + specially crafted scripts to bypass the API permissions check and |
| 29 | + perform administrative actions, including reading and modifying data |
| 30 | + inside the Redis database, which can be used to read secrets and |
| 31 | + change COSMOS settings, as well as read and write to the buckets |
| 32 | + service, which holds configuration, log,and plugin files. These |
| 33 | + actions are normally only available from the Admin Console or with |
| 34 | + administrative privileges. Any user with permission to create and |
| 35 | + run scripts can connect to any service in the docker network. |
| 36 | +
|
| 37 | + ## Recommendations |
| 38 | +
|
| 39 | + * Limit the permissions of the script runner API to prevent lower |
| 40 | + level users from performing administrative actions. |
| 41 | + cvss_v3: 9.6 |
| 42 | + patched_versions: |
| 43 | + - ">= 7.0.0" |
| 44 | + related: |
| 45 | + url: |
| 46 | + - https://github.com/OpenC3/cosmos/security/advisories/GHSA-2wvh-87g2-89hr |
| 47 | + - https://rubygems.org/gems/openc3/versions/7.0.0 |
| 48 | + - https://github.com/OpenC3/cosmos/releases/tag/v7.0.0 |
| 49 | + - https://www.linkedin.com/posts/vulert_critical-permissions-bypass-in-openc3-cosmos-activity-7453420840760774656-RMv1 |
| 50 | + - https://www.miggo.io/vulnerability-database/cve/GHSA-2wvh-87g2-89hr |
| 51 | + - https://github.com/advisories/GHSA-2wvh-87g2-89hr |
| 52 | +--- |
0 commit comments