---
id: CVE-2026-42088
aliases:
  - PYSEC-2026-2245
  - GHSA-2wvh-87g2-89hr
title: >-
  OpenC3 COSMOS provides the functionality needed to send commands to and
  receive data from one or more embedded systems. Prior to version …
summary: >-
  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 th…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'
vendor: openc3
product: openc3
ecosystem: pip
affected:
  - openc3 < 7.0.0
patched:
  - openc3 7.0.0
published: '2026-05-04'
updated: '2026-07-13'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/PYSEC-2026-2245'
references:
  - url: 'https://github.com/OpenC3/cosmos/releases/tag/v7.0.0'
  - url: 'https://github.com/OpenC3/cosmos/releases/tag/v7.0.0-rc3'
  - url: 'https://github.com/OpenC3/cosmos/security/advisories/GHSA-2wvh-87g2-89hr'
tags:
  - osv
  - pip
epss: 0.00492
epssPercentile: 0.39709
ingestedAt: '2026-07-13T18:58:08.469Z'
---

## Overview

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 packages

- `openc3 < 7.0.0`

## Remediation

Upgrade to a patched release:

- `openc3 7.0.0`
