CVE-2026-42087

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:openc3:cosmos:*:*:*:*:open_source:*:*:*
cpe:2.3:a:openc3:cosmos:7.0.0:rc1:*:*:open_source:*:*:*
cpe:2.3:a:openc3:cosmos:7.0.0:rc2:*:*:open_source:*:*:*

History

08 May 2026, 19:53

Type Values Removed Values Added
References () https://github.com/OpenC3/cosmos/commit/9ba60c09c8836a37a2e4ea67ab35fe403e041415 - () https://github.com/OpenC3/cosmos/commit/9ba60c09c8836a37a2e4ea67ab35fe403e041415 - Patch
References () https://github.com/OpenC3/cosmos/releases/tag/v7.0.0-rc3 - () https://github.com/OpenC3/cosmos/releases/tag/v7.0.0-rc3 - Release Notes
References () https://github.com/OpenC3/cosmos/security/advisories/GHSA-v529-vhwc-wfc5 - () https://github.com/OpenC3/cosmos/security/advisories/GHSA-v529-vhwc-wfc5 - Vendor Advisory, Exploit
First Time Openc3 cosmos
Openc3
CPE cpe:2.3:a:openc3:cosmos:7.0.0:rc2:*:*:open_source:*:*:*
cpe:2.3:a:openc3:cosmos:*:*:*:*:open_source:*:*:*
cpe:2.3:a:openc3:cosmos:7.0.0:rc1:*:*:open_source:*:*:*

05 May 2026, 13:16

Type Values Removed Values Added
References () https://github.com/OpenC3/cosmos/security/advisories/GHSA-v529-vhwc-wfc5 - () https://github.com/OpenC3/cosmos/security/advisories/GHSA-v529-vhwc-wfc5 -

04 May 2026, 18:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-04 18:16

Updated : 2026-05-08 19:53


NVD link : CVE-2026-42087

Mitre link : CVE-2026-42087

CVE.ORG link : CVE-2026-42087


JSON object : View

Products Affected

openc3

  • cosmos
CWE
CWE-89

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')