Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to obtain session token
-
DeliveryWrite malicious pypi_url via set_setting JSON-RPC
-
ExploitUpload plugin gem containing requirements.txt
-
ExecutionTrigger install_phase2 pip backtick
-
PersistShell executes injected commands as openc3 user
-
ImpactSteal 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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.
Articles & Coverage 1
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
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.
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
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
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
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
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 before 7.0.0-rc3 lets any user who is allowed to create and run scripts in the Script Runner widget escala
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-85563
GHSA-vp3w-52v9-q57f
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB