CVE-2026-42086Openc3 Cosmos
Medium 4.6
Follow: this CVE · Openc3 · Openc3 Cosmos We alert you by email or Slack (account required).
- Priority
- 28
- CVSS 3.1
- 4.6
- EPSS
- —
- Auth required
- Yes
- Published
- May 4, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
What happens
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, the Command Sender UI uses an unsafe eval() function on array-like command parameters, which allows a user-supplied payload to execute in the browser when sending a command. This creates a self-XSS risk because an attacker can trigger their own script execution in the victim’s session, if allowed to influence the array parameter input, for example via phishing. If successful, an attacker may read or modify data in the authenticated browser context, including session tokens in local storage. This issue has been patched in version 7.0.0.
What to do
- Apply the vendor's security update for Cosmos.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | openc3 |
< 7.0.0 |
7.0.0 |
pip install "openc3>=7.0.0" |
| PyPI | openc3 |
< 7.0.0 |
7.0.0 |
pip install "openc3>=7.0.0" |
| RubyGems | openc3 |
< 7.0.0 |
7.0.0 |
gem "openc3", ">= 7.0.0" |
Per OSV / GitHub Advisories (GHSA-ffq5-qpvf-xq7x, PYSEC-2026-105). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| openc3 | cosmos | < 7.0.0 |
| openc3 | cosmos | 7.0.0 |
| openc3 | cosmos | 7.0.0 |
| openc3 | cosmos | 7.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Vendor Advisory