CVE-2026-42086
Published:May 04, 2026
Updated:October 10, 2026
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.
Affected Packages
https://github.com/OpenC3/cosmos.git (GITHUB):
Affected version(s) >=v3.0.0 <v7.0.0Fix Suggestion:
Update to version v7.0.0openc3 (PYTHON):
Affected version(s) >=0.1.0 <7.0.0Fix Suggestion:
Update to version 7.0.0openc3 (RUBY):
Affected version(s) >=5.0.6 <7.0.0Fix Suggestion:
Update to version 7.0.0openc3-cosmos-tool-cmdsender (RUBY):
Affected version(s) >=7.0.0.pre.rc1.20260216201505 <7.0.0Fix Suggestion:
Update to version 7.0.0Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.6
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
EPSS
Base Score:
0.29