Skip to main content

OpenC3 COSMOS CVE-2026-42088

| EUVDEUVD-2026-27065 CRITICAL
Execution with Unnecessary Privileges (CWE-250)
2026-05-04 GitHub_M
9.6
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate with Script Runner credentials
  2. Delivery
    Submit Python/Ruby script via Script Runner widget
  3. Exploit
    Extract Redis credentials from container environment variables
  4. Install
    Establish direct Redis connection on Docker network
  5. C2
    Read secrets and modify configuration in Redis database
  6. Execute
    Upload malicious files to MinIO buckets service
  7. Impact
    Achieve administrative control over COSMOS installation

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V8 - Authorization Unnecessary privilege execution
Exploitation Conditions

Requires authenticated access with Script Runner widget permissions (specifically the ability to create and execute Python or Ruby scripts in OpenC3 COSMOS). The vulnerability is exploitable in default Docker Compose deployments where all COSMOS containers share a common Docker network without service-level authentication. Exploitation requires knowledge of internal service hostnames and ports (Redis, MinIO), which are discoverable through environment variables accessible within the script execution context. Does NOT require administrator privileges or Admin Console access-the vulnerability allows low-privilege Script Runner users to escalate to administrative capabilities. The scope change (S:C) in CVSS reflects that exploitation crosses the privilege boundary from script execution context to direct database/storage access. User interaction is not required (UI:N) once the attacker has Script Runner access. Attack is remotely exploitable (AV:N) by any authenticated user on the network who can access the COSMOS web interface.

Impact

Real-world risk is CRITICAL for organizations running OpenC3 COSMOS with multiple user tiers. The CVSS 9.6 accurately reflects impact severity: authenticated users with low-privilege Script Runner access can read all secrets (C:H), modify system configuration and inject malicious plugins (I:H), with scope change indicating container-boundary violation. However, exploitation requires authenticated access (PR:L) and knowledge of COSMOS internal architecture-this is not a mass-exploitation vulnerability. No CISA KEV listing as of analysis date suggests no widespread active exploitation, likely because OpenC3 COSMOS has a specialized user base in aerospace/embedded systems rather than internet-facing deployments. The GitHub security advisory provides detailed proof-of-concept demonstrating Redis credential extraction and database manipulation, making exploitation straightforward for insider threats or compromised accounts. Primary risk scenarios: supply chain attacks via malicious plugins uploaded to buckets, credential theft from Redis, and privilege escalation in multi-tenant deployments. The low attack complexity (AC:L) combined with network attack vector (AV:N) means any authenticated user on the network can exploit this remotely without user interaction. Patch adoption is critical-version 7.0.0-rc3 was released specifically to address this, with stable 7.0.0 confirming the fix. Organizations should prioritize this update, especially if Script Runner access is granted to non-administrator users.

Exploit ScenarioDerived

An authenticated user with Script Runner permissions executes a Python script that reads Redis credentials from environment variables exposed in the openc3-cosmos-script-runner-api container. The script establishes a direct connection to the Redis service on the shared Docker network, bypassing the web API's authorization layer. The attacker queries the Redis database to extract stored secrets, API keys, or authentication tokens, then modifies the plugin store URL configuration to point to an attacker-controlled server. When administrators install or update plugins, the system downloads a malicious plugin package containing a backdoor. The attacker can also upload modified configuration files directly to the MinIO buckets service, persisting changes across container restarts. Detailed proof-of-concept with screenshots is available in GitHub advisory GHSA-2wvh-87g2-89hr demonstrating Redis manipulation and bucket file upload.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 04, 2026

Privilege escalation in OpenC3 COSMOS allows low-privileged authenticated users to bypass API authorization and perform administrative actions by executing crafted Python or Ruby scripts via the Script Runner widget. Attackers can directly access Redis database (exposing secrets and configuration settings) and the MinIO buckets service (containing logs, configs, and plugins) due to unrestricted container-to-container network access in the Docker deployment. Vendor-released patch available in version 7.0.0-rc3 and confirmed in 7.0.0 stable release. EPSS data not available; no CISA KEV listing indicates targeted rather than widespread exploitation. CVSS 9.6 (Critical) with scope change reflects the container escape-like privilege boundary violation.

RemediationAI

Upgrade to OpenC3 COSMOS version 7.0.0-rc3 or later (stable 7.0.0 release available at https://github.com/OpenC3/cosmos/releases/tag/v7.0.0). The patched versions implement network-level access controls preventing Script Runner containers from directly accessing Redis and MinIO services without proper authorization. Organizations upgrading to 7.0.0 must perform a full TSDB cleanup as table names now include scope identifiers-run openc3.sh cleanup (WARNING: drops all logged data) or manually delete the TSDB volume via docker volume rm xxx-tsdb-v. For environments unable to immediately upgrade, implement compensating controls: restrict Script Runner access to administrator accounts only via role-based access control; deploy network segmentation using Docker custom networks with explicit service linking to prevent unrestricted container-to-container communication (TRADE-OFF: requires Docker Compose reconfiguration and may break legitimate script functionality); rotate Redis credentials and implement Redis ACLs limiting script-runner-api container to read-only access where feasible (TRADE-OFF: may impact legitimate administrative scripts). Monitor Redis audit logs and MinIO access logs for unauthorized connections originating from the script-runner-api container IP address. Note that generic defense-in-depth measures are insufficient-this vulnerability requires architectural remediation at the container network layer.

Affected VersionsENISA

cosmos < 7.0.0-rc3

Affected Packages

pypi openc3 fix: 7.0.0
rubygems openc3 fix: 7.0.0-rc3
euvd cosmos fix: 7.0.0-rc3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in pypi, rubygems, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

OpenC3 COSMOS is a command-and-control framework for embedded systems that runs as a multi-container Docker application. The Script Runner API container (openc3-cosmos-script-runner-api) executes user-submitted Python and Ruby scripts with full network access to other containers sharing the default Docker bridge network. The vulnerability stems from CWE-250 (Execution with Unnecessary Privileges): the script execution environment inherits excessive network privileges without enforcing API-level authorization checks. Redis credentials and service endpoints are discoverable via environment variables within the container, allowing direct database manipulation through Python Redis clients or Ruby libraries. The MinIO object storage service (buckets) is similarly accessible without authentication from within the container network. This architectural flaw allows authenticated users with script execution permissions to bypass the intended role-based access control enforced at the web API layer, effectively escalating privileges to administrator-equivalent capabilities. The scope change in CVSS:3.1/S:C indicates the attack crosses a security boundary-from Script Runner container context to administrative control over Redis and storage services.

Know when Cosmos gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 9.6 CRITICAL
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
May 04, 2026 - 19:17 EUVD
CVE Published
May 04, 2026 - 17:21 nvd
CRITICAL 9.6

DescriptionGitHub Advisory

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.

Executive ViewAI

Why It Matters

OpenC3 COSMOS versions before 7.0.0 allow authenticated users to escalate privileges and bypass API authorization through the Script Runner widget, gaining direct access to Redis databases and MinIO storage containing secrets, configuration, and operational logs. Organizations running vulnerable COSMOS instances face immediate risk of credential theft, configuration tampering, and unauthorized administrative control over critical infrastructure management systems.

Business Impact: Severe
Compensating Controls

Vendor-released patch: version 7.0.0 stable (and 7.0.0-rc3). If immediate patching is impossible: (1) Disable Script Runner widget access for all non-administrative accounts via role-based access controls; (2) Implement network policies to restrict container-to-container communication between application, Redis, and MinIO services; (3) Enable Redis password authentication and rotate credentials; (4) Monitor Redis and MinIO access logs for anomalous queries or unauthorized file access; (5) Conduct daily credential audit of secrets stored in affected systems.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Social Media
2
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +48
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

More in Cosmos

View all
CVE-2025-28386 CRITICAL POC
9.8 Jun 13

Critical remote code execution vulnerability in OpenC3 COSMOS v6.0.0's Plugin Management component that allows unauthent

CVE-2025-28388 CRITICAL POC
9.8 Jun 13

OpenC3 COSMOS versions before v6.0.2 contain hardcoded credentials embedded in the Service Account, allowing unauthentic

CVE-2025-28389 CRITICAL POC
9.8 Jun 13

Critical authentication bypass vulnerability in OpenC3 COSMOS v6.0.0 caused by weak password requirements that enable br

CVE-2025-28384 CRITICAL POC
9.1 Jun 13

Critical directory traversal vulnerability in OpenC3 COSMOS versions before 6.1.0 affecting the /script-api/scripts/ end

CVE-2025-28382 HIGH POC
7.5 Jun 13

Directory traversal vulnerability in OpenC3 COSMOS versions before 6.1.0 that allows unauthenticated remote attackers to

CVE-2025-28381 HIGH POC
7.5 Jun 13

A security vulnerability in OpenC3 COSMOS (CVSS 7.5) that allows attackers. Risk factors: public PoC available.

CVE-2025-28380 MEDIUM POC
6.1 Jun 13

A cross-site scripting (XSS) vulnerability in OpenC3 COSMOS before v6.0.2 allows attackers to execute arbitrary web scri

CVE-2026-42087 CRITICAL
9.6 May 04

SQL injection in OpenC3 COSMOS 6.7.0 to 7.0.0-rc2 allows authenticated users with minimal 'tlm' (telemetry viewer) privi

CVE-2026-77601 HIGH POC
8.8 Sep 23

Authenticated OS command injection in OpenC3 COSMOS 5.12.0 through 7.2.1 allows a user with a valid session to run arbit

CVE-2024-47529 MEDIUM POC
4.8 Oct 02

OpenC3 COSMOS provides the functionality needed to send commands to and receive data from one or more embedded systems.

CVE-2026-42084 HIGH
8.1 May 04

OpenC3 COSMOS password change functionality accepts valid session tokens in lieu of current passwords, enabling attacker

CVE-2026-77394 HIGH POC
7.6 Sep 23

OpenC3 COSMOS versions 5.0.6 through 7.2.x contain a stored cross-site scripting flaw in the shared-screen BUTTON widget

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy