# CVE-2026-42088: OpenC3 COSMOS: Administrative Actions via the Script Runner Tool

- Severity: Critical 9.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-23T14:17:53.000Z
- Modified: 2026-10-26T19:10:00.163Z
- Also known as: GHSA-2wvh-87g2-89hr, PYSEC-2026-2245
- Weaknesses: CWE-250
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- OpenC3 cosmos: < 7.0.0-rc3; before 7.0.0; 7.0.0
- openc3 (RubyGems): before 7.0.0-rc3
- openc3 (PyPI): before 7.0.0

## Every score

- GitHub_M: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/OpenC3/cosmos/security/advisories/GHSA-2wvh-87g2-89hr> (exploit, evidence, vendor-advisory, web)
- <https://github.com/OpenC3/cosmos/releases/tag/v7.0.0> (advisory, release-notes)
- <https://github.com/OpenC3/cosmos/releases/tag/v7.0.0-rc3> (advisory, release-notes)
- <https://github.com/OpenC3/cosmos> (package)

## Sources

- CVE List: [CVE-2026-42088](https://www.cve.org/CVERecord?id=CVE-2026-42088), CVE Terms of Use, modified 2026-05-04
- GitHub Advisory Database: [GHSA-2wvh-87g2-89hr](https://github.com/advisories/GHSA-2wvh-87g2-89hr), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-42088](https://nvd.nist.gov/vuln/detail/CVE-2026-42088), Public domain, modified 2026-10-26
- PyPA Advisory Database: [PYSEC-2026-2245](https://osv.dev/vulnerability/PYSEC-2026-2245), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-42088 · Whole record: https://cve.day/CVE-2026-42088.json · Rebuilt by cve.day 2026-11-25T22:59:20.541Z
