{"id":"PYSEC-2026-2244","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 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.","aliases":["CVE-2026-42087","GHSA-v529-vhwc-wfc5"],"modified":"2026-07-13T07:15:38.980182568Z","published":"2026-05-04T18:16:30.830Z","references":[{"type":"ADVISORY","url":"https://github.com/OpenC3/cosmos/releases/tag/v7.0.0-rc3"},{"type":"FIX","url":"https://github.com/OpenC3/cosmos/commit/9ba60c09c8836a37a2e4ea67ab35fe403e041415"},{"type":"EVIDENCE","url":"https://github.com/OpenC3/cosmos/security/advisories/GHSA-v529-vhwc-wfc5"}],"affected":[{"package":{"name":"openc3","ecosystem":"PyPI","purl":"pkg:pypi/openc3"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"7.0.0"}]}],"versions":["6.10.0","6.10.1","6.10.2","6.10.3","6.10.4","6.10.5","6.10.6","6.7.0","6.8.0","6.8.1","6.9.0","6.9.1","6.9.2","7.0.0rc2","7.0.0rc3"],"ecosystem_specific":{},"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/openc3/PYSEC-2026-2244.yaml"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N"}]}