Skip to main content

OpenC3 COSMOS CVE-2026-42088

| EUVDEUVD-2026-27065 HIGH
Execution with Unnecessary Privileges (CWE-250)
2026-05-04 GitHub_M
8.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privilege script user
  2. Delivery
    Run Ruby script to dump Redis credentials from container env
  3. Exploit
    Connect across shared Docker network to Redis and buckets
  4. Execution
    Write settings/config and plugin files
  5. Impact
    Read secrets and gain administrative control

Vulnerability Assessment

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

Requires an authenticated COSMOS account that has been granted permission to create and run scripts in the Script Runner tool (matching CVSS PR:L); this is the exact prerequisite. It further depends on the default containerized deployment in which all COSMOS Docker containers share one network, allowing the script-runner-api container to reach the Redis and buckets services directly, and on Redis credentials being present in the container environment (as shown in the advisory). Limiting factors: the attacker must already hold a valid low-privilege script-execution account (no anonymous/unauthenticated path), and only versions prior to 7.0.0-rc3 are affected - upgrading to 7.0.0-rc3 (or the 7.0.0 line) removes the exposure. No end-user interaction by a victim is required.

Impact

This is a genuine privilege-escalation issue but not an emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N, base 8.1) describes a network-reachable, low-complexity flaw that nonetheless requires an authenticated account - specifically PR:L, a user already granted permission to create and run scripts. SSVC reinforces this nuance: Exploitation is rated 'poc' (not active), Automatable is 'no' (a human operator with script privileges is needed, so it does not mass-scan/worm), yet Technical Impact is 'total' because the attacker reaches Redis and the bucket store and can read secrets and rewrite COSMOS settings/config/plugins. The signals are internally consistent rather than conflicting: EPSS is very low (0.02%, 7th percentile) and the CVE is NOT in CISA KEV, which matches the 'poc / not automatable / authenticated' picture - this is an insider or compromised-account escalation path, not a wormable internet threat. The vuln.today decision label is 'this_week', i.e. patch promptly but it is not flagged act_now/emergency. Net: real impact (total technical compromise of the COSMOS data plane) gated behind an authenticated low-privilege account and the default shared-Docker-network deployment, so prioritize it for environments where non-admin users are given Script Runner access.

Exploit ScenarioDerived

A low-privileged COSMOS user who has been granted permission to create and run scripts opens Script Runner and runs a short Ruby script (e.g. env | grep redis) to harvest the Redis username, password, host and port exposed as environment variables in the script-runner-api container. Using those credentials, a follow-up Python script connects directly to the shared Docker network and writes to Redis and the buckets service, reading secrets and altering COSMOS settings, configuration, logs and plugin files. The GHSA advisory publishes working reproduction scripts demonstrating exactly this, so a proof-of-concept is already public.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – Oct 26, 2026

OpenC3 COSMOS before 7.0.0-rc3 lets any user who is allowed to create and run scripts in the Script Runner widget escalate to full administrative control of the deployment. Because the script-runner-api container executes user-supplied Python and Ruby code inside the shared Docker network, that low-privilege account can reach the Redis database and the buckets service directly, read stored secrets, alter COSMOS settings, and rewrite configuration, log, and plugin files that are normally restricted to the Admin Console. A public PoC reference exists (the vendor advisory includes full reproduction steps); it is not verified here as standalone working exploit code, EPSS is low at 0.02% (7th percentile), there is no CISA KEV listing, and the vendor has released fixed versions 7.0.0-rc3 and 7.0.0.

Earlier versions of this analysis (1)
v1 May 04, 2026 - 18:02 CVSS 9.6

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 7.0.0-rc3 or later (the 7.0.0 release is also fixed, per https://github.com/OpenC3/cosmos/releases/tag/v7.0.0-rc3 and https://github.com/OpenC3/cosmos/releases/tag/v7.0.0); note the vendor's own advisory for 7.0.0 warns that QuestDB problems require 7.1, so 7.1+ is preferable for the 7.0 line, and updating from a 7.0.0 release candidate requires either running openc3.sh cleanup, which drops all logged telemetry data, or manually deleting the TSDB volume with docker volume rm xxx-tsdb-v. Until the upgrade can be performed, the vendor's recommendation is to limit the permissions of the script runner API so that lower-privileged users cannot create and run scripts; in practice this means restricting Script Runner access to a small set of trusted administrative accounts, accepting that those accounts remain able to reach Redis and the buckets service, and additionally segmenting the Docker network or removing Redis credentials from the script-runner container environment so that stray scripts cannot authenticate to the datastore. Full technical detail and reproduction steps are in the advisory at https://github.com/OpenC3/cosmos/security/advisories/GHSA-2wvh-87g2-89hr.

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

The issue is CWE-250, Execution with Unnecessary Privileges: the openc3inc/openc3-cosmos-script-runner-api container is designed to run arbitrary Python and Ruby on behalf of users, but it does so with network reach and credentials far beyond what a script author is entitled to. In the default containerized deployment all COSMOS containers share a single Docker network, so code running inside the script-runner container can open direct TCP connections to the Redis service (openc3-redis:6379) and to the S3-compatible buckets service that stores configuration, log and plugin files, bypassing the COSMOS API's own permission checks entirely. The advisory demonstrates that Redis credentials are recoverable from the container environment (for example via a Ruby call to env), after which a Python script using the redis client writes an arbitrary openc3__settings_* hash such as a hijacked store_url and reads it back; a similar file upload into the config bucket changes the plugin store URL. The underlying weakness is therefore not a memory-safety or injection bug but an over-privileged execution sandbox combined with implicit trust of the shared Docker network, packaged as the rubygems/openc3 gem and matching CPE cpe:2.3:a:openc3:cosmos. Any script-capable account can consequently exercise administrative functions that the API layer was meant to gate.

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

NVD PRIMARY 8.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 8.1 HIGH

Network-reachable Script Runner needs a low-privilege script-execution account (PR:L, AC:L, UI:N); reading secrets and rewriting Redis/bucket data give C:H/I:H, with no stated availability loss (A:N).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

5
Analysis Updated
Oct 26, 2026 - 19:38 vuln.today
v2 - CVSS changed
Severity Changed
Oct 26, 2026 - 19:23 NVD
CRITICAL HIGH
CVSS changed
Oct 26, 2026 - 19:23 NVD
9.6 (CRITICAL) 8.1 (HIGH)
Patch available
May 04, 2026 - 19:17 EUVD
CVE Published
May 04, 2026 - 17:21 nvd
CRITICAL 9.6

DescriptionNVD

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

CVE-2026-42088 is a high-severity vulnerability in OpenC3 COSMOS that allows any user with script creation privileges to escalate to full administrative control of the deployment. This affects organizations relying on COSMOS for critical operations, as low-privileged users could access sensitive data and alter system configurations, undermining trust in the platform and potentially disrupting mission-critical activities.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Prevalence
Low
niche command-and-control software for embedded/satellite ground systems
Social Media
2
Sightings
Data Quality
7 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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
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