CVE-2026-42087
CVE-2026-42087 is a critical-severity vulnerability in Openc3 Cosmos with a CVSS 3.x base score of 9.6. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-89.
Key facts
- Severity: Critical (CVSS 3.x base score 9.6)
- EPSS exploit prediction: 0% (24th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-27063
- Weakness: CWE-89
- Affected product: Openc3 Cosmos
- Published:
- Last modified:
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 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.
Frequently asked questions
- What is CVE-2026-42087?
- 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.
- How severe is CVE-2026-42087?
- CVE-2026-42087 has a CVSS 3.x base score of 9.6, rated critical severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability none.
- Is CVE-2026-42087 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (24th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-42087?
- CVE-2026-42087 primarily affects Openc3 Cosmos. In total, 3 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2026-42087?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2026-42087 have an EU (EUVD) identifier?
- Yes. CVE-2026-42087 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-27063.
- When was CVE-2026-42087 published?
- CVE-2026-42087 was published on 2026-05-04 and last updated on 2026-06-17.
References
- https://github.com/OpenC3/cosmos/commit/9ba60c09c8836a37a2e4ea67ab35fe403e041415
- https://github.com/OpenC3/cosmos/releases/tag/v7.0.0-rc3
- https://github.com/OpenC3/cosmos/security/advisories/GHSA-v529-vhwc-wfc5
Affected products (3)
- cpe:2.3:a:openc3:cosmos:*:*:*:*:open_source:*:*:*
- cpe:2.3:a:openc3:cosmos:7.0.0:rc1:*:*:open_source:*:*:*
- cpe:2.3:a:openc3:cosmos:7.0.0:rc2:*:*:open_source:*:*:*
More vulnerabilities in Openc3 Cosmos
- CVE-2025-28389 — Critical (CVSS 9.8): Weak password requirements in OpenC3 COSMOS v6.0.0 allow attackers to bypass authentication via a brute force attack.
- CVE-2025-28388 — Critical (CVSS 9.8): OpenC3 COSMOS before v6.0.2 was discovered to contain hardcoded credentials for the Service Account.
- CVE-2025-28386 — Critical (CVSS 9.8): A remote code execution (RCE) vulnerability in the Plugin Management component of OpenC3 COSMOS v6.0.0 allows attackers…
- CVE-2026-42088 — Critical (CVSS 9.6): OpenC3 COSMOS provides the functionality needed to send commands to and receive data from one or more embedded systems.…
- CVE-2025-28384 — Critical (CVSS 9.1): An issue in the /script-api/scripts/ endpoint of OpenC3 COSMOS before 6.1.0 allows attackers to execute a directory…
- CVE-2026-42084 — High (CVSS 8.1): OpenC3 COSMOS provides the functionality needed to send commands to and receive data from one or more embedded systems.…
All CVEs affecting Openc3 Cosmos →
Other CWE-89 (SQL Injection) vulnerabilities
- CVE-2026-54350 — Critical (CVSS 10.0): Budibase is an open-source low-code platform. Prior to 3.39.12, an unauthenticated visitor of any published Budibase…
- CVE-2026-8054 — Critical (CVSS 10.0): Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in the Publish Audit API endpoints…
- CVE-2026-42287 — Critical (CVSS 10.0): Emlog is an open source website building system. Prior to version 2.6.11, direct SQL injection in article creation and…
- CVE-2026-3325 — Critical (CVSS 10.0): SQL injection (SQLi) in MegaCMS v12.0.0, specifically in the “id_territorio” parameter of the…
- CVE-2025-10878 — Critical (CVSS 10.0): A SQL injection vulnerability exists in the login functionality of Fikir Odalari AdminPando 1.0.1 before 2026-01-26.…
- CVE-2025-57792 — Critical (CVSS 10.0): Explorance Blue versions prior to 8.14.9 contain a SQL injection vulnerability caused by insufficient validation of…