SQL Injection in Openc3 Cosmos
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.6 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N.
EPSS exploit prediction
EPSS: 0.003 (25.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 26th percentile — 25.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
- Openc3 Cosmos — versions >= 6.7.0, < 7.0.0-rc3, 7.0.0
Weakness classification (CWE)
References
- github.com/OpenC3/cosmos/security/advisories/GHSA-v529-vhwc-wfc5 (Exploit, Vendor Advisory)
- github.com/OpenC3/cosmos/commit/9ba60c09c8836a37a2e4ea67ab35fe403e041415 (Patch)
- github.com/OpenC3/cosmos/releases/tag/v7.0.0-rc3 (Release Notes)
Frequently asked questions
- What is CVE-2026-42087?
- CVE-2026-42087 is a critical-severity vulnerability in Openc3 Cosmos, classified under SQL Injection. CVSS score: 9.6/10. Published 2026-05-04.
- How severe is CVE-2026-42087?
- Critical severity. CVSS v3 base score is 9.6 out of 10.