CVE-2026-42087

Critical

Description

OpenC3 COSMOS provides the functionality needed to send commands to and receive data from one or more embedded systems. From version 6.7.0 to before version 7.0.0-rc3, a SQL injection vulnerability exists in the Time-Series Database (TSDB) component of COSMOS. The tsdb_lookup function in the cvt_model.rb file directly places user-supplied input into a SQL query without sanitizing the input. As a result, a user can break out of the initial SQL statement and execute arbitrary SQL commands, including deleting data. This issue has been patched in version 7.0.0-rc3.

SeverityCritical
CVSS9.6
Exploit probability—
ProductOpenc3 Cosmos
PublishedMay 4, 2026
First seenMay 4, 2026
Weakness typeCWE-89SQL injection

How to fix

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

Affected products

ProductAffected versionsFixed in
openc3 cosmos6.7.0 ≤ v < 7.0.0, 7.0.07.0.0
openc3PyPI6.7.0 ≤ v < 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.

CVE-2026-42087 · Openc3 Cosmos · Dark Radar