Skip to main content

OpenC3 COSMOS EUVDEUVD-2026-27059

| CVE-2026-42085 MEDIUM
Relative Path Traversal (CWE-23)
2026-05-04 GitHub_M
4.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to COSMOS web UI
  2. Delivery
    Access tool with Save Configuration option
  3. Exploit
    Submit crafted config name with ../ sequences
  4. Execution
    Backend canonicalizes and saves to /plugins directory
  5. Impact
    Overwrite target plugin configuration file

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Relative path traversal prevention
Exploitation Conditions

Exploitation requires three specific conditions: (1) authenticated access to the OpenC3 COSMOS web UI with sufficient privileges to access a tool that implements the 'Save Configuration' feature; (2) the target COSMOS instance must be version < 6.10.5 or 7.0.0-rc1 through 7.0.0-rc3; (3) the attacked tool must use the vulnerable save_tool_config() function in local_mode.rb or the vulnerable ToolConfigModel class. The vulnerability does NOT affect: (a) unauthenticated attackers; (b) COSMOS instances where the configuration save UI is disabled; (c) COSMOS instances where tools do not expose the Save Configuration option; (d) single-user or highly isolated plugin deployments where overwriting another plugin's config has no impact. The path traversal is limited to the /plugins directory tree; system files outside /plugins cannot be written. Non-default configuration (disabling config save UI) completely prevents exploitation.

Impact

CVSS score of 4.3 accurately reflects the limited real-world risk despite path traversal capability. The attack requires PR:L (authenticated user access to the COSMOS web UI), which significantly restricts the attacker population to legitimate system operators or compromised accounts. The vulnerability cannot be exploited unauthenticated or without user interaction to save a configuration. Scope is Unchanged (S:U), meaning the attacker cannot escape the /plugins directory boundary to impact system files. Integrity is compromised (I:L) but confidentiality and availability are not affected-the attacker can only overwrite other plugins' configuration files within the same directory tree, not execute code or access data. No public exploit code or active KEV listing is identified, suggesting this is primarily a concern for multi-tenant COSMOS deployments where plugin isolation is critical. The patch is straightforward input validation, indicating the underlying design flaw (no per-plugin directory enforcement) was known but previously mitigated only by canonicalization. Organizations running single-plugin or single-tenant COSMOS instances with trusted operators face negligible risk; those with untrusted plugin developers or multi-tenant architectures should prioritize patching.

Exploit ScenarioDerived

An authenticated COSMOS operator with legitimate access to the web UI navigates to a tool supporting configuration save (such as Limits Monitor), enters a configuration name like '../../../evil_plugin/config.json', and clicks Save. The application writes the file to /plugins/evil_plugin/config.json, overwriting that plugin's legitimate configuration and potentially degrading its functionality or injecting malicious settings. If the plugin configuration is interpreted as code or controls critical embedded system commands, this could disrupt operations. Proof-of-concept demonstration is documented in the GitHub advisory with screenshots showing files created outside the intended tool directory.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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

AnalysisAIv1 – May 04, 2026

OpenC3 COSMOS before versions 6.10.5 and 7.0.0-rc3 allows authenticated users to write arbitrary files to the shared /plugins directory via path traversal sequences in tool configuration filenames, potentially overwriting other plugins' configuration files. The vulnerability exists in the save_tool_config() function which canonicalizes filenames but does not restrict writes to plugin-specific subdirectories, enabling lateral movement between plugins. CVSS 4.3 reflects low severity due to authentication requirement and limited scope (integrity only), though real-world impact depends on whether plugin configurations contain sensitive data.

RemediationAI

Upgrade to OpenC3 COSMOS 6.10.5 or 7.0.0-rc3 or later immediately. The patches add regex-based input validation to reject tool and configuration names containing forward slashes, backslashes, or '..' sequences at both frontend (Vue.js SaveConfigDialog) and backend (Ruby ToolConfigModel and Python ToolConfigModel) layers. No workarounds are available without code modification. If immediate patching is not possible, disable tool configuration save functionality in the COSMOS web UI or restrict access to the COSMOS interface to trusted operators only via network firewall rules or reverse proxy authentication. Verify the fix by checking that configuration save attempts with names like '../../evil' or 'sub/config' are rejected with 'Invalid config name' errors. See GitHub commits https://github.com/OpenC3/cosmos/commit/9957a9fa460c0c0cf5cdbf6a5931bbdd025246a5 and https://github.com/OpenC3/cosmos/commit/e6efccbd148ba0e3361c5891027f2373aa140d42 for exact code changes.

Affected VersionsENISA

cosmos < 6.10.5
cosmos 7.0.0.pre.rc1, < 7.0.0-rc3

Affected Packages

pypi openc3 fix: 6.10.5
rubygems openc3 fix: 6.10.5, 7.0.0-rc3
euvd cosmos fix: 6.10.5
euvd cosmos_7_0_0_pre_rc1 fix: 7.0.0-rc3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 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 an embedded systems command and telemetry framework written in Ruby/Python that manages tool configurations across a shared plugin directory structure. The vulnerability lies in the save_tool_config() function in local_mode.rb, which accepts user-supplied configuration filenames from the web UI and saves them within OPENC3_LOCAL_MODE_PATH. Although the implementation uses path canonicalization to prevent standard '..' escapes to arbitrary system locations, the shared /plugins root directory is accessible to all plugins. The CWE-23 classification (Relative Path Traversal) applies because the function validates against absolute path traversal but fails to enforce per-plugin directory boundaries. The fix adds regex validation (/[/\]|\.\./) to both the Vue.js frontend SaveConfigDialog component and backend Ruby/Python ToolConfigModel classes, rejecting any configuration or tool names containing path separators or '..' sequences.

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

Vendor (GitHub_M) PRIMARY 4.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

2
Patch available
May 04, 2026 - 19:17 EUVD
CVE Published
May 04, 2026 - 17:13 nvd
MEDIUM 4.3

DescriptionCVE.org

OpenC3 COSMOS provides the functionality needed to send commands to and receive data from one or more embedded systems. Prior to versions 6.10.5 and 7.0.0-rc3, OpenC3 COSMOS contains a design flaw in the save_tool_config() function that allows saving tool configuration files at arbitrary locations inside the shared /plugins directory tree by supplying crafted configuration filenames. Although the implementation sufficiently mitigates standard path traversal attacks, by canonicalizing filename to an absolute path, all plugins share this same root directory. That enables users to create arbitrary file structures and overwrite existing configuration files within the shared /plugins directory. This issue has been patched in versions 6.10.5 and 7.0.0-rc3.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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-42088 HIGH
8.1 May 04

OpenC3 COSMOS before 7.0.0-rc3 lets any user who is allowed to create and run scripts in the Script Runner widget escala

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