CVE-2026-42088
HIGH 8.1CVSS 3.1OpenC3 COSMOS: Permissions Bypass Provides User Access to Unassigned Administrative Actions via 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.
- Published
- 4 May 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-250
- Also known as
- GHSA-2wvh-87g2-89hrPYSEC-2026-2245
- Sources
- NVDJSONOSV GHSA-2wvh-87g2-89hrJSONOSV PYSEC-2026-2245JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| OSV | PyPA | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openc3 | cosmoscpe:2.3:a:openc3:cosmos:*:*:*:*:open_source:*:*:* |
< 7.0.0 | 7.0.0 |
| NVD | openc3 | cosmoscpe:2.3:a:openc3:cosmos:7.0.0:rc1:*:*:open_source:*:*:* |
= 7.0.0 | |
| NVD | openc3 | cosmoscpe:2.3:a:openc3:cosmos:7.0.0:rc2:*:*:open_source:*:*:* |
= 7.0.0 | |
| OSV | RubyGems | openc3 | < 7.0.0-rc3 | 7.0.0-rc3 |
| OSV | PyPI | openc3 | < 7.0.0 | 7.0.0 |
References
- https://github.com/OpenC3/cosmos/releases/tag/v7.0.0 · Release Notes, ADVISORY
- https://github.com/OpenC3/cosmos/releases/tag/v7.0.0-rc3 · Release Notes, ADVISORY
- https://github.com/OpenC3/cosmos/security/advisories/GHSA-2wvh-87g2-89hr · Exploit, Vendor Advisory, WEB, EVIDENCE
- https://github.com/OpenC3/cosmos · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 4 May 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Apr 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 May 2026)