CVE-2026-42087
OpenC3 COSMOS provides the functionality needed to send commands to …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/OpenC3/cosmos/commit/9ba60c09c8836a37a2e4ea67ab35fe403e041415
- github.com/OpenC3/cosmos/releases/tag/v7.0.0-rc3
- github.com/OpenC3/cosmos/security/advisories/GHSA-v529-vhwc-wfc5
- nvd.nist.gov/vuln/detail/CVE-2026-42087
- github.com/advisories/GHSA-v529-vhwc-wfc5
- github.com/rubysec/ruby-advisory-db/blob/master/gems/openc3/CVE-2026-42087.yml
- nvd.nist.gov/vuln/detail/CVE-2026-42087
- cve.org/CVERecord?id=CVE-2026-42087
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.