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 tsdblookup function in the cvtmodel.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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42087.json",
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-89"
]
}{
"source": [
"CPE_RANGE",
"CPE_STRING",
"REFERENCES"
],
"cpe": [
"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:*:*:*"
],
"extracted_events": [
{
"introduced": "6.7.0"
},
{
"fixed": "7.0.0"
},
{
"introduced": "7.0.0-rc1"
},
{
"last_affected": "7.0.0-rc1"
},
{
"introduced": "7.0.0-rc2"
},
{
"last_affected": "7.0.0-rc2"
}
]
}