{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-42087","id":"CVE-2026-42087","title":"OpenC3 COSMOS: SQL Injection in QuestDB Time-Series Data Base","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 r","descriptionLong":"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.","published":"2026-05-04T17:18:02.965Z","updated":"2026-10-28T02:30:26.671077703Z","reserved":"2026-04-23T19:17:30.566Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","rating":"critical","source":"github.com"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","rating":"critical","source":"OSV"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","rating":"critical","source":"GitHub"}],"rating":"critical","products":["OpenC3 cosmos"],"affectedProducts":[{"vendor":"OpenC3","product":"cosmos","defaultStatus":null,"versions":[{"version":">= 6.7.0, < 7.0.0-rc3","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"openc3","purl":"pkg:gem/openc3","ranges":[">=6.7.0 <7.0.0-rc3"],"fixed":["7.0.0-rc3"],"advisory":"GHSA-v529-vhwc-wfc5"},{"ecosystem":"PyPI","name":"openc3","purl":"pkg:pypi/openc3","ranges":[">=6.7.0 <7.0.0"],"fixed":["7.0.0"],"advisory":"PYSEC-2026-2244"}],"cwes":["CWE-89"],"aliases":["GHSA-v529-vhwc-wfc5","PYSEC-2026-2244"],"references":[{"url":"https://github.com/OpenC3/cosmos/security/advisories/GHSA-v529-vhwc-wfc5","tags":["x_refsource_CONFIRM","exploit","Exploit","Vendor Advisory","advisory","web","evidence"]},{"url":"https://github.com/OpenC3/cosmos/commit/9ba60c09c8836a37a2e4ea67ab35fe403e041415","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/OpenC3/cosmos/releases/tag/v7.0.0-rc3","tags":["x_refsource_MISC","Release Notes","web","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42087.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42087","tags":["advisory"]},{"url":"https://github.com/OpenC3/cosmos","tags":["package"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/openc3/CVE-2026-42087.yml","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00323,"epssPercentile":0.25831,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-42087","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42087","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-42087","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-v529-vhwc-wfc5","ok":true,"note":"GHSA-v529-vhwc-wfc5"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-42087","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}