{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-42087","published":"2026-05-04T18:16:30.830000Z","last_modified":"2026-10-26T19:10:00.163000Z","status":"Analyzed","cvss":{"version":"3.1","score":9.6,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-89"],"cpes":[{"criteria":"cpe:2.3:a:openc3:cosmos:*:*:*:*:open_source:*:*:*","part":"a","vendor":"openc3","product":"cosmos","version_start_including":"6.7.0","version_end_excluding":"7.0.0"},{"criteria":"cpe:2.3:a:openc3:cosmos:7.0.0:rc1:*:*:open_source:*:*:*","part":"a","vendor":"openc3","product":"cosmos","version":"7.0.0"},{"criteria":"cpe:2.3:a:openc3:cosmos:7.0.0:rc2:*:*:open_source:*:*:*","part":"a","vendor":"openc3","product":"cosmos","version":"7.0.0"}],"cpes_truncated":false,"vendors":["openc3"],"products":["openc3/cosmos"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"PYSEC-2026-2244","ecosystem":"PyPI","name":"openc3","purl":"pkg:pypi/openc3","ranges":[{"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"],"versions_truncated":false},{"advisory":"GHSA-v529-vhwc-wfc5","ecosystem":"RubyGems","name":"openc3","purl":"pkg:gem/openc3","ranges":[{"introduced":"6.7.0","fixed":"7.0.0-rc3"}],"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"],"versions_truncated":false}],"severity":"critical","priority_score":58,"links":{"html_es":"/es/cve/CVE-2026-42087/","html_en":"/en/cve/CVE-2026-42087/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-42087","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-42087"},"untrusted":{"vendor_name":"Openc3","product_name":"Cosmos","desc_en":"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.","affected":[{"untrusted_vendor":"OpenC3","untrusted_product":"cosmos","versions":[]}],"references":[{"url":"https://github.com/OpenC3/cosmos/commit/9ba60c09c8836a37a2e4ea67ab35fe403e041415","tags":["Patch"]},{"url":"https://github.com/OpenC3/cosmos/releases/tag/v7.0.0-rc3","tags":["Release Notes"]},{"url":"https://github.com/OpenC3/cosmos/security/advisories/GHSA-v529-vhwc-wfc5","tags":["Exploit","Vendor Advisory"]}]}}