OpenC3 COSMOS: SQL Injection in QuestDB Time-Series Data Base
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-89.
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 (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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| OpenC3 | cosmos | 6.7.0 to before 7.0.0-rc3 | 7.0.0-rc3 | Patch available | CNA |
| — | openc3 (RubyGems) | 6.7.0 to before 7.0.0-rc3 | 7.0.0-rc3 | Patch available | GHSA-v529-vhwc-wfc5 |
- cosmos VendorOpenC3 Affected 6.7.0 to before 7.0.0-rc3 Fixed in 7.0.0-rc3 Patch available CNA
- openc3 (RubyGems) Vendor— Affected 6.7.0 to before 7.0.0-rc3 Fixed in 7.0.0-rc3 Patch available GHSA-v529-vhwc-wfc5
Remediation
- Fix · CNA cosmos (OpenC3) Fixed in 7.0.0-rc3
- Fix · GHSA-v529-vhwc-wfc5 openc3 (RubyGems) Fixed in 7.0.0-rc3 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-42087
- 2026-10-03 Alias added: GHSA-v529-vhwc-wfc5
References
More OpenC3 Cosmos vulnerabilities
- TI-2025-20781 Weak password requirements in OpenC3 COSMOS v6.0.0 allow attackers to bypass authentication via a brute force attack. CVSS 3.1CRITICAL 9.8
- TI-2025-20780 OpenC3 COSMOS before v6.0.2 was discovered to contain hardcoded credentials for the Service Account. CVSS 3.1CRITICAL 9.8
- TI-2025-20779 A remote code execution (RCE) vulnerability in the Plugin Management component of OpenC3… CVSS 3.1CRITICAL 9.8
- TI-2025-20778 An issue in the /script-api/scripts/ endpoint of OpenC3 COSMOS before 6.1.0 allows… CVSS 3.1CRITICAL 9.1
- TI-2026-30456 OpenC3 COSMOS: Administrative Actions via the Script Runner Tool CVSS 3.1CRITICAL 9.6
- TI-2025-20777 An issue in the openc3-api/tables endpoint of OpenC3 COSMOS before 6.1.0 allows attackers… CVSS 3.1HIGH 7.5
Sources
- CVE-2026-42087 · CVE Program
- CVE-2026-42087 · NVD
- FIRST EPSS
- GHSA-v529-vhwc-wfc5 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences