CVE-2026-77601 OpenC3 COSMOS: Authenticated OS command injection via the `pypi_url` setting
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
Description
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| rubygems openc3(RubyGems) | = 5.12.0; = 5.13.0; = 5.14.0; = 5.14.1 +49 more | 7.3.0 | Fixed |
| openc3 cosmos | = >= 5.12.0, < 7.3.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openc3 cosmos | = >= 5.12.0, < 7.3.0 | No fix listed |
| rubygems openc3(RubyGems) | >= 5.12.0, < 7.3.0 | 7.3.0 |
| rubygems openc3(RubyGems) | = 5.12.0 | No fix listed |
| rubygems openc3(RubyGems) | = 5.13.0 | No fix listed |
| rubygems openc3(RubyGems) | = 5.14.0 | No fix listed |
| rubygems openc3(RubyGems) | = 5.14.1 | No fix listed |
| rubygems openc3(RubyGems) | = 5.14.2 | No fix listed |
| rubygems openc3(RubyGems) | = 5.15.0 | No fix listed |
| rubygems openc3(RubyGems) | = 5.15.1 | No fix listed |
| rubygems openc3(RubyGems) | = 5.15.2 | No fix listed |
| rubygems openc3(RubyGems) | = 5.16.0 | No fix listed |
| rubygems openc3(RubyGems) | = 5.16.1 | No fix listed |
| rubygems openc3(RubyGems) | = 5.16.2 | No fix listed |
| rubygems openc3(RubyGems) | = 5.17.0 | No fix listed |
| rubygems openc3(RubyGems) | = 5.17.1 | No fix listed |
| rubygems openc3(RubyGems) | = 5.18.0 | No fix listed |
| rubygems openc3(RubyGems) | = 5.19.0 | No fix listed |
| rubygems openc3(RubyGems) | = 5.20.0 | No fix listed |
| rubygems openc3(RubyGems) | = 6.0.0 | No fix listed |
| rubygems openc3(RubyGems) | = 6.0.1 | No fix listed |
| rubygems openc3(RubyGems) | = 6.0.2 | No fix listed |
| rubygems openc3(RubyGems) | = 6.1.0 | No fix listed |
| rubygems openc3(RubyGems) | = 6.10.0 | No fix listed |
| rubygems openc3(RubyGems) | = 6.10.1 | No fix listed |
| rubygems openc3(RubyGems) | = 6.10.2 | No fix listed |
Show 29 more
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems openc3(RubyGems) | = 6.10.3 | No fix listed |
| rubygems openc3(RubyGems) | = 6.10.4 | No fix listed |
| rubygems openc3(RubyGems) | = 6.10.5 | No fix listed |
| rubygems openc3(RubyGems) | = 6.10.6 | No fix listed |
| rubygems openc3(RubyGems) | = 6.2.0 | No fix listed |
| rubygems openc3(RubyGems) | = 6.2.1 | No fix listed |
| rubygems openc3(RubyGems) | = 6.3.0 | No fix listed |
| rubygems openc3(RubyGems) | = 6.4.0 | No fix listed |
| rubygems openc3(RubyGems) | = 6.4.1 | No fix listed |
| rubygems openc3(RubyGems) | = 6.4.2 | No fix listed |
| rubygems openc3(RubyGems) | = 6.5.0 | No fix listed |
| rubygems openc3(RubyGems) | = 6.5.1 | No fix listed |
| rubygems openc3(RubyGems) | = 6.6.0 | No fix listed |
| rubygems openc3(RubyGems) | = 6.7.0 | No fix listed |
| rubygems openc3(RubyGems) | = 6.8.0 | No fix listed |
| rubygems openc3(RubyGems) | = 6.8.1 | No fix listed |
| rubygems openc3(RubyGems) | = 6.9.0 | No fix listed |
| rubygems openc3(RubyGems) | = 6.9.1 | No fix listed |
| rubygems openc3(RubyGems) | = 6.9.2 | No fix listed |
| rubygems openc3(RubyGems) | = 7.0.0 | No fix listed |
| rubygems openc3(RubyGems) | = 7.0.0.pre.rc1 | No fix listed |
| rubygems openc3(RubyGems) | = 7.0.0.pre.rc2 | No fix listed |
| rubygems openc3(RubyGems) | = 7.0.0.pre.rc3 | No fix listed |
| rubygems openc3(RubyGems) | = 7.0.1 | No fix listed |
| rubygems openc3(RubyGems) | = 7.1.0 | No fix listed |
| rubygems openc3(RubyGems) | = 7.1.1 | No fix listed |
| rubygems openc3(RubyGems) | = 7.2.0 | No fix listed |
| rubygems openc3(RubyGems) | = 7.2.1 | No fix listed |
| rubygems openc3(RubyGems) | >= 5.12.0, <= 7.2.1 | No fix listed |
References
- https://github.com/OpenC3/cosmos/security/advisories/GHSA-vp3w-52v9-q57f exploit vendor-advisory
- https://github.com/OpenC3/cosmos/pull/3489 patch
- https://github.com/OpenC3/cosmos/commit/be70d1d836c83c3b084e768e31a399312d4cbe0b patch
- github.com product
- github.com
- github.com
- ENISA EUVD EUVD-2026-85563 third-party-advisory