CVE-2026-42087

Source
https://cve.org/CVERecord?id=CVE-2026-42087
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42087.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-42087
Aliases
Published
2026-05-04T17:18:02.965Z
Modified
2026-08-12T03:51:34.456338497Z
Severity
  • 9.6 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N CVSS Calculator
Summary
OpenC3 COSMOS: SQL Injection in QuestDB Time-Series Data Base
Details

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.

Database specific
{
    "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"
    ]
}
References

Affected packages

Git / github.com/openc3/cosmos

Affected ranges

Type
GIT
Repo
https://github.com/openc3/cosmos
Events
Database specific
Show details
{
    "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"
        }
    ]
}

Affected versions

7.*
7.0.0-rc1
7.0.0-rc2
v7.*
v7.0.0-rc1
v7.0.0-rc2
v7.0.0-rc3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42087.json"