Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege script user
-
DeliveryRun Ruby script to dump Redis credentials from container env
-
ExploitConnect across shared Docker network to Redis and buckets
-
ExecutionWrite settings/config and plugin files
-
ImpactRead 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – 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)
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
Affected Packages
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
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
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).
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
5DescriptionNVD
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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
Critical remote code execution vulnerability in OpenC3 COSMOS v6.0.0's Plugin Management component that allows unauthent
OpenC3 COSMOS versions before v6.0.2 contain hardcoded credentials embedded in the Service Account, allowing unauthentic
Critical authentication bypass vulnerability in OpenC3 COSMOS v6.0.0 caused by weak password requirements that enable br
Critical directory traversal vulnerability in OpenC3 COSMOS versions before 6.1.0 affecting the /script-api/scripts/ end
Directory traversal vulnerability in OpenC3 COSMOS versions before 6.1.0 that allows unauthenticated remote attackers to
A security vulnerability in OpenC3 COSMOS (CVSS 7.5) that allows attackers. Risk factors: public PoC available.
A cross-site scripting (XSS) vulnerability in OpenC3 COSMOS before v6.0.2 allows attackers to execute arbitrary web scri
SQL injection in OpenC3 COSMOS 6.7.0 to 7.0.0-rc2 allows authenticated users with minimal 'tlm' (telemetry viewer) privi
Authenticated OS command injection in OpenC3 COSMOS 5.12.0 through 7.2.1 allows a user with a valid session to run arbit
OpenC3 COSMOS provides the functionality needed to send commands to and receive data from one or more embedded systems.
OpenC3 COSMOS password change functionality accepts valid session tokens in lieu of current passwords, enabling attacker
OpenC3 COSMOS versions 5.0.6 through 7.2.x contain a stored cross-site scripting flaw in the shared-screen BUTTON widget
EUVD-2026-27065
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB