{"id":"CVE-2026-42087","aliases":["PYSEC-2026-2244","GHSA-v529-vhwc-wfc5"],"title":"OpenC3 COSMOS provides the functionality needed to send commands to and receive data from one or more embedded systems. From version 6.7.…","summary":"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 (TSD…","severity":"critical","cvss":9.6,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","vendor":"openc3","product":"openc3","ecosystem":"pip","affected":["openc3 >= 6.7.0, < 7.0.0"],"patched":["openc3 7.0.0"],"published":"2026-05-04","updated":"2026-07-13","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/PYSEC-2026-2244","references":[{"url":"https://github.com/OpenC3/cosmos/releases/tag/v7.0.0-rc3"},{"url":"https://github.com/OpenC3/cosmos/commit/9ba60c09c8836a37a2e4ea67ab35fe403e041415"},{"url":"https://github.com/OpenC3/cosmos/security/advisories/GHSA-v529-vhwc-wfc5"}],"tags":["osv","pip"],"epss":0.00445,"epssPercentile":0.36017,"ingestedAt":"2026-07-13T18:58:08.451Z","slug":"CVE-2026-42087","body":"## Overview\n\nOpenC3 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.\n\n## Affected packages\n\n- `openc3 >= 6.7.0, < 7.0.0`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `openc3 7.0.0`","depth":"midnight","depthScore":53,"depthScoreParts":{"impact":52.8,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}