CVE-2026-42086
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
openc3RubyGems | < 7.0.0 | 7.0.0 |
openc3PyPI | < 7.0.0 | 7.0.0 |
Affected products
5cpe:2.3:a:openc3:cosmos:7.0.0:rc1:*:*:open_source:*:*:*+ 3 more
- cpe:2.3:a:openc3:cosmos:7.0.0:rc1:*:*:open_source:*:*:*
- cpe:2.3:a:openc3:cosmos:7.0.0:rc2:*:*:open_source:*:*:*
- cpe:2.3:a:openc3:cosmos:7.0.0:rc3:*:*:open_source:*:*:*
- cpe:2.3:a:openc3:cosmos:*:*:*:*:open_source:*:*:*range: <7.0.0
Patches
Vulnerability mechanics
References
5- github.com/OpenC3/cosmos/security/advisories/GHSA-ffq5-qpvf-xq7xnvdExploitVendor AdvisoryWEB
- github.com/advisories/GHSA-ffq5-qpvf-xq7xghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-42086ghsaADVISORY
- github.com/pypa/advisory-database/tree/main/vulns/openc3/PYSEC-2026-105.yamlghsaWEB
- github.com/rubysec/ruby-advisory-db/blob/master/gems/openc3/CVE-2026-42086.ymlghsaWEB
News mentions
0No linked articles in our index yet.