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.
- CVSS 3.1
- 9.6
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N - EPSS
- 0.3% chance of exploitation in the next 30 days; higher than 25% of CVEs (scores of 2026-10-26)
- CWE
- CWE-89
- Published
- Modified
- Record from
- the NVD, synced
Affected
- openc3:cosmos
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-v529-vhwc-wfc5 | RubyGems | openc3 | >=6.7.0 <7.0.0-rc3 | 7.0.0-rc3 |
| PYSEC-2026-2244 | PyPI | openc3 | >=6.7.0 <7.0.0 | 7.0.0 |