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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-89"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42087.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:openc3:cosmos:*:*:*:*:open_source:*:*:*",
"range": [
{
"introduced": "6.7.0"
},
{
"fixed": "7.0.0"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:openc3:cosmos:7.0.0:rc1:*:*:open_source:*:*:*",
"range": [
{
"introduced": "7.0.0-rc1"
},
{
"last_affected": "7.0.0-rc1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:openc3:cosmos:7.0.0:rc2:*:*:open_source:*:*:*",
"range": [
{
"introduced": "7.0.0-rc2"
},
{
"last_affected": "7.0.0-rc2"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "9ba60c09c8836a37a2e4ea67ab35fe403e041415"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v7.0.0-rc3",
"range": [
{
"fixed": "c3ea3499cc01801122361524f6ccce2fdfbc35f0"
}
],
"source": "REFERENCES_TAG"
}
]
}