CVE-2026-42086

Medium

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.

SeverityMedium
CVSS4.6
Exploit probability—
ProductOpenc3 Cosmos
PublishedMay 4, 2026
First seenMay 4, 2026

How to fix

Update
  • openc3 cosmos7.0.0 or later
  • openc37.0.0 or later

Affected products

ProductAffected versionsFixed in
openc3 cosmosv < 7.0.0, 7.0.07.0.0
openc3RubyGemsv < 7.0.07.0.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.