Vulnerability Description
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 Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Openc3 | Cosmos | >= 6.7.0, < 7.0.0 |
Related Weaknesses (CWE)
References
- https://github.com/OpenC3/cosmos/commit/9ba60c09c8836a37a2e4ea67ab35fe403e041415Patch
- https://github.com/OpenC3/cosmos/releases/tag/v7.0.0-rc3Release Notes
- https://github.com/OpenC3/cosmos/security/advisories/GHSA-v529-vhwc-wfc5Vendor AdvisoryExploit
- https://github.com/OpenC3/cosmos/security/advisories/GHSA-v529-vhwc-wfc5Vendor AdvisoryExploit
FAQ
What is CVE-2026-42087?
CVE-2026-42087 is a vulnerability with a CVSS score of 9.6 (CRITICAL). 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 ex...
How severe is CVE-2026-42087?
CVE-2026-42087 has been rated CRITICAL with a CVSS base score of 9.6/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-42087?
Check the references section above for vendor advisories and patch information. Affected products include: Openc3 Cosmos.