CVE-2026-42088
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.
Weakness
- CWE-250: Execution with Unnecessary Privileges
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2026-05-04 |
Timeline
- 2026-04-23GitHub advisory published (GHSA-2wvh-87g2-89hr)11 days before publication
- 2026-05-04Published by the CNA17:21 UTC
- 2026-05-04CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-2wvh-87g2-89hr, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| RubyGems openc3 | before 7.0.0-rc3 | 7.0.0-rc3 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| openc3 cosmos | before 7.0.0fixed in 7.0.07.0.0no fix listed | 7.0.0not listed |
References
- https://github.com/OpenC3/cosmos/security/advisories/GHSA-2wvh-87g2-89hr
- https://github.com/OpenC3/cosmos/releases/tag/v7.0.0
- https://github.com/OpenC3/cosmos/releases/tag/v7.0.0-rc3
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-42088'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-42088'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-42088'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-42088'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).