CVE-2026-42087
CRITICAL 9.6CVSS 3.1OpenC3 COSMOS has SQL Injection in QuestDB Time-Series Database
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
- 4 May 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-89
- Also known as
- GHSA-v529-vhwc-wfc5PYSEC-2026-2244
- Sources
- NVDJSONOSV GHSA-v529-vhwc-wfc5JSONOSV PYSEC-2026-2244JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openc3 | cosmoscpe:2.3:a:openc3:cosmos:*:*:*:*:open_source:*:*:* |
>= 6.7.0, < 7.0.0 | 7.0.0 |
| NVD | openc3 | cosmoscpe:2.3:a:openc3:cosmos:7.0.0:rc1:*:*:open_source:*:*:* |
= 7.0.0 | |
| NVD | openc3 | cosmoscpe:2.3:a:openc3:cosmos:7.0.0:rc2:*:*:open_source:*:*:* |
= 7.0.0 | |
| OSV | RubyGems | openc3 | >= 6.7.0, < 7.0.0-rc3 | 7.0.0-rc3 |
| OSV | PyPI | openc3 | >= 6.7.0, < 7.0.0 | 7.0.0 |
References
- https://github.com/OpenC3/cosmos/commit/9ba60c09c8836a37a2e4ea67ab35fe403e041415 · Patch, WEB, FIX
- https://github.com/OpenC3/cosmos/releases/tag/v7.0.0-rc3 · Release Notes, WEB, ADVISORY
- https://github.com/OpenC3/cosmos/security/advisories/GHSA-v529-vhwc-wfc5 · Exploit, Vendor Advisory, WEB, EVIDENCE
- https://nvd.nist.gov/vuln/detail/CVE-2026-42087 · ADVISORY
- https://github.com/OpenC3/cosmos · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/openc3/CVE-2026-42087.yml · WEB
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 4 May 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Apr 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 May 2026)