Skip to main content

OpenC3 COSMOS CVE-2026-77601

| EUVDEUVD-2026-85563 HIGH
OS Command Injection (CWE-78)
2026-09-23 GitHub_M GHSA-vp3w-52v9-q57f
8.8
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 obtain session token
  2. Delivery
    Write malicious pypi_url via set_setting JSON-RPC
  3. Exploit
    Upload plugin gem containing requirements.txt
  4. Execution
    Trigger install_phase2 pip backtick
  5. Persist
    Shell executes injected commands as openc3 user
  6. Impact
    Steal Redis and bucket credentials

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a valid authenticated session against the openc3-cosmos-cmd-tlm-api service and the ability to (1) write the pypi_url setting via the set_setting JSON-RPC method and (2) install a plugin whose gem contains a requirements.txt or pyproject.toml so the Python dependency branch of install_phase2 executes. In the open-source edition the authorization check returns an anonymous user and does not enforce the permission argument, so ANY authenticated user suffices; in the Enterprise edition these operations require the administrator role, which is the primary limiting factor there. No user interaction beyond the attacker's own requests is needed, and default configurations are affected on versions 5.12.0 through 7.2.1 - the only hard prerequisites are authentication and reaching the plugin-install and setting-write operations.

Impact

This is a genuine high-priority issue, not high-CVSS inflation. The CVSS 3.1 vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (8.8) is well-supported: network-reachable JSON-RPC endpoint, low complexity, only a valid session token required, and full triad impact because the injected shell runs as the openc3 service user with Redis and object-storage bucket credentials. The privilege bar differs sharply by edition - a critical detail the base score cannot capture: in the open-source edition ANY authenticated user qualifies (the authorize routine returns an anonymous user and does not enforce the permission argument), whereas Enterprise deployments require the admin role, materially raising PR there. A confirmed end-to-end PoC exists in the vendor GHSA advisory (id > /tmp/A1_PWNED demonstrated against a booted cmd-tlm-api), so exploitability is proven, not theoretical. No EPSS score and no KEV entry are present in the input, so there is no evidence of active or widespread exploitation - the signals point to a serious, easily weaponizable flaw whose real-world exposure is bounded by the product's niche footprint and the authentication requirement. No conflicting signals: CVSS network vector matches the HTTP-reachable endpoint described.

Exploit ScenarioDerived

An authenticated user (any low-privilege account on an open-source deployment, or an admin on Enterprise) sends a set_setting JSON-RPC call to POST /openc3-api/api writing pypi_url to a value like 'https://pypi.org ; id > /tmp/PWNED ; #', then uploads a plugin gem containing a requirements.txt to trigger the Python install path. When install_phase2 interpolates the setting into the pipinstall backtick, /bin/sh executes the injected commands as the openc3 service user. A working PoC is published in the GHSA advisory, confirming reliable end-to-end exploitation over HTTP.

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

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

Alert me

AnalysisAIv1 – Sep 23, 2026

Authenticated OS command injection in OpenC3 COSMOS 5.12.0 through 7.2.1 allows a user with a valid session to run arbitrary operating-system commands as the openc3 service user by writing shell metacharacters into the pypi_url setting and then installing a plugin that carries Python dependency metadata. The injected value is interpolated into a shell backtick inside PluginModel.install_phase2, so commands execute with access to the service's Redis and bucket storage credentials; in the open-source edition any authenticated user can reach both the setting-write and plugin-install operations, whereas the Enterprise edition requires the administrator role, and the vendor has fixed the issue in 7.3.0. There is no CISA KEV listing or confirmed in-the-wild exploitation, but the public vendor advisory GHSA-vp3w-52v9-q57f includes confirmed end-to-end proof-of-concept steps, and the independent assessment rates this as a genuine high-priority issue rather than CVSS inflation.

RemediationAI

Upgrade OpenC3 COSMOS to version 7.3.0, which is the vendor-released fix; the change (GitHub PR https://github.com/OpenC3/cosmos/pull/3489, commit https://github.com/OpenC3/cosmos/commit/be70d1d836c83c3b084e768e31a399312d4cbe0b) replaces the backtick shell invocation in PluginModel.install_phase2 with Open3.capture2e using an explicit argv array, eliminating shell metacharacter interpretation, and adds a new OpenC3::PypiUrl.validate helper that rejects anything that is not an http(s) URL with a host and falls back to the default index, applied in both plugin_model.rb and python_package_model.rb. If an immediate upgrade is not possible, restrict access to the openc3-cosmos-cmd-tlm-api service (firewall or reverse-proxy rules limiting who can reach POST /openc3-api/api and POST /openc3-api/plugins) and, on Enterprise deployments, verify that only administrator accounts hold the roles that permit set_setting and plugin installation; on open-source deployments, treat every authenticated account as potentially able to reach the vulnerable path, so consider disabling or gating plugin upload from untrusted users until patched, accepting the trade-off that this blocks legitimate plugin deployment workflows. Additional compensating controls include monitoring plugin install activity for requests that reference a requirements.txt or pyproject.toml shortly after a pypi_url setting change, rotating the openc3 service user's Redis and bucket storage credentials on any suspected compromise, and constraining that user's filesystem and network privileges so a successful injection has less to work with. Vendor advisory: https://github.com/OpenC3/cosmos/security/advisories/GHSA-vp3w-52v9-q57f.

Affected VersionsENISA

cosmos 5.12.0, < 7.3.0

Affected Packages

rubygems openc3 fix: 7.3.0
euvd cosmos_5_12_0 fix: 7.3.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in 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 Ruby-based command and telemetry framework used to talk to embedded systems, exposing a JSON-RPC API (POST /openc3-api/api) on the openc3-cosmos-cmd-tlm-api service. The root cause is CWE-78 improper neutralization of special elements used in an OS command: the pypi_url setting, written through the set_setting JSON-RPC method, is read back during plugin installation and concatenated into a pip argument string that is executed with a Ruby backtick (openc3/lib/openc3/models/plugin_model.rb:288), which Ruby passes to /bin/sh -c. Shell metacharacters in the setting therefore become shell syntax; appending a trailing '#' comments out the '/simple' suffix that get_setting appends as well as the rest of the argument string. The Python-install branch only runs when the attacker-supplied plugin gem contains a requirements.txt or pyproject.toml, which the attacker controls. Notably, the sibling installer openc3/lib/openc3/models/python_package_model.rb:95 invokes the same pipinstall helper through an argv array via ProcessManager.spawn and is not injectable, making plugin_model.rb the single vulnerable call site. On the authorization side, openc3/lib/openc3/utilities/authorization.rb in the open-source edition only validates the session token, returns the anonymous user, and ignores the permission argument, so no role check gates the setting write or the plugin install.

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 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Network JSON-RPC endpoint (AV:N), low complexity, requires only a valid session so PR:L (open-source floor), no user interaction; shell runs as service user with Redis/bucket creds giving full C/I/A:H.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

2
Patch available
Sep 23, 2026 - 20:03 EUVD
CVE Published
Sep 23, 2026 - 18:50 cve.org
HIGH 8.8

DescriptionCVE.org

OpenC3 COSMOS provides the functionality needed to send commands to and receive data from one or more embedded systems. From 5.12.0 until 7.3.0, an authenticated actor can write the pypi_url setting through set_setting at POST /openc3-api/api, then cause OpenC3::PluginModel.install_phase2 in openc3/lib/openc3/models/plugin_model.rb to interpolate the value into a shell command while installing a plugin with Python dependency metadata. Shell metacharacters in the setting are interpreted by the command shell, allowing arbitrary operating-system commands to run as the openc3 service user with access to Redis and bucket credentials. Open-source deployments permit any authenticated user to reach the affected operations, while Enterprise deployments require an administrator. This issue is fixed in version 7.3.0.

Technical POC Analysis

CWE-78.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

OpenC3 COSMOS, the ground-segment command-and-control platform used for satellite and mission operations, carries a HIGH severity flaw (CVSS 8.8) that lets a user holding an existing session execute operating-system commands as the openc3 service account, reaching the Redis and bucket-storage credentials that account can read. The vendor advisory documents confirmed end-to-end proof-of-concept steps, so publicly available exploit code exists for versions 5.12.0 through 7.2.1; in the open-source edition any user who can install plugins can attempt this, while the Enterprise edition limits it to administrators. Leadership should care because a single compromised mission-operations account could reach shared storage and command-path infrastructure rather than remaining contained to one application, so exposure is broad across any team running these releases.

Business Impact: High
Compensating Controls

Apply vendor patch. Where upgrade to 7.3.0 cannot be completed immediately, block plugin installation, remove or restrict the pypi_url setting, constrain the plugin-install and settings-write operations to administrators, and rotate the Redis and bucket-storage credentials held by the openc3 service user.

Threat Intelligence Overview

EPSS Score
0.6%
Top 55% exploitable
Prevalence
Low
niche open-source ground-station/command-and-control framework for embedded and aerospace systems
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

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 Yes
EPSS 0.6%
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

65
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

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-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

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