CVE-2026-42087: OpenC3 COSMOS: SQL Injection in QuestDB Time-Series Data Base

Published May 4, 2026
·
Updated

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 tsdblookup function in the cvtmodel.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 Software

4 affected components
OpenC3 COSMOS>=6.7.0<7.0.0-rc3
OpenC3 COSMOS>=6.7.0<7.0.0
OpenC3 COSMOS=7.0.0-rc1
OpenC3 COSMOS=7.0.0-rc2

Event History

May 4, 2026
CVE Published
via MITRE·05:18 PM
Data Sourced
via MITRE·05:18 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-42087?

CVE-2026-42087 is classified as a critical vulnerability due to its potential for SQL injection attacks.

2

How do I fix CVE-2026-42087?

To fix CVE-2026-42087, upgrade OpenC3 COSMOS to version 7.0.0-rc3 or later.

3

What systems are affected by CVE-2026-42087?

CVE-2026-42087 affects OpenC3 COSMOS versions 6.7.0 through versions before 7.0.0-rc3.

4

What is the nature of the vulnerability in CVE-2026-42087?

The vulnerability in CVE-2026-42087 is an SQL injection in the Time-Series Database used by OpenC3 COSMOS.

5

What impact can CVE-2026-42087 have on your systems?

Successful exploitation of CVE-2026-42087 can allow attackers to execute arbitrary SQL queries, leading to potential data leakage or corruption.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203