CVE-2026-42087 Details
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.
A SQL injection vulnerability has been identified in OpenC3 COSMOS versions 6.7.0 prior to 7.0.0-rc3, specifically within the Time-Series Database (TSDB) component. The vulnerability arises because the 'tsdb_lookup' function in 'cvt_model.rb' directly incorporates user-supplied input into SQL queries without proper sanitization. This oversight allows users to manipulate the SQL statement and execute arbitrary SQL commands, including the deletion of data. The vulnerability has been patched in version 7.0.0-rc3.
Users can update to OpenC3 COSMOS version 7.0.0-rc3 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/OpenC3/cosmos/security/advisories/GHSA-v529-vhwc-wfc5 | CISA-ADP | ExploitVendor Advisory |
| https://github.com/OpenC3/cosmos/commit/9ba60c09c8836a37a2e4ea67ab35fe403e041415 | [email protected] | Patch |
| https://github.com/OpenC3/cosmos/releases/tag/v7.0.0-rc3 | [email protected] | Release Notes |
| https://github.com/OpenC3/cosmos/security/advisories/GHSA-v529-vhwc-wfc5 | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| openc3 cosmos | >= 6.7.0, < 7.0.0 7.0.0 rc1 7.0.0 rc2 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 26, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 8, 2026 | Initial Analysis | [email protected] |
| May 5, 2026 | CVE Modified | CISA-ADP |
| May 4, 2026 | New CVE Received | [email protected] |