CVE-2026-42087: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in OpenC3 cosmos
A critical SQL injection vulnerability (CWE-89) exists in OpenC3 COSMOS versions 6.7.0 up to but not including 7.0.0-rc3. The vulnerability is located in the Time-Series Database component, specifically in the tsdb_lookup function of the cvt_model.rb file, where user input is not properly sanitized before being included in a SQL query. This allows an attacker with limited privileges to execute arbitrary SQL commands, potentially leading to data deletion or compromise. The issue has been addressed and patched in version 7.0.
AI Analysis
Technical Summary
OpenC3 COSMOS versions from 6.7.0 to before 7.0.0-rc3 contain a SQL injection vulnerability in the Time-Series Database (TSDB) component. The vulnerability arises because the tsdb_lookup function in the cvt_model.rb file directly incorporates user-supplied input into SQL queries without sanitization. This improper neutralization of special elements in SQL commands (CWE-89) enables an attacker to break out of the intended query context and execute arbitrary SQL commands, including destructive operations such as data deletion. The vulnerability has been fixed in version 7.0.0-rc3.
Potential Impact
An attacker with at least limited privileges can exploit this vulnerability to execute arbitrary SQL commands on the backend database. This can lead to unauthorized data manipulation, including deletion of data, and compromise the integrity and availability of the affected system. The CVSS v3.1 base score is 9.6, indicating a critical severity with high impact on confidentiality and integrity, and no impact on availability.
Mitigation Recommendations
A patch addressing this vulnerability is available in OpenC3 COSMOS version 7.0.0-rc3. Users should upgrade to this version or later to remediate the issue. Since this is not a cloud service, remediation requires applying the updated software version. Patch status is confirmed by the vendor advisory indicating the fix in 7.0.0-rc3.
CVE-2026-42087: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in OpenC3 cosmos
Description
A critical SQL injection vulnerability (CWE-89) exists in OpenC3 COSMOS versions 6.7.0 up to but not including 7.0.0-rc3. The vulnerability is located in the Time-Series Database component, specifically in the tsdb_lookup function of the cvt_model.rb file, where user input is not properly sanitized before being included in a SQL query. This allows an attacker with limited privileges to execute arbitrary SQL commands, potentially leading to data deletion or compromise. The issue has been addressed and patched in version 7.0.
CVSS v3.1
Score 9.6critical
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
OpenC3 COSMOS versions from 6.7.0 to before 7.0.0-rc3 contain a SQL injection vulnerability in the Time-Series Database (TSDB) component. The vulnerability arises because the tsdb_lookup function in the cvt_model.rb file directly incorporates user-supplied input into SQL queries without sanitization. This improper neutralization of special elements in SQL commands (CWE-89) enables an attacker to break out of the intended query context and execute arbitrary SQL commands, including destructive operations such as data deletion. The vulnerability has been fixed in version 7.0.0-rc3.
Potential Impact
An attacker with at least limited privileges can exploit this vulnerability to execute arbitrary SQL commands on the backend database. This can lead to unauthorized data manipulation, including deletion of data, and compromise the integrity and availability of the affected system. The CVSS v3.1 base score is 9.6, indicating a critical severity with high impact on confidentiality and integrity, and no impact on availability.
Mitigation Recommendations
A patch addressing this vulnerability is available in OpenC3 COSMOS version 7.0.0-rc3. Users should upgrade to this version or later to remediate the issue. Since this is not a cloud service, remediation requires applying the updated software version. Patch status is confirmed by the vendor advisory indicating the fix in 7.0.0-rc3.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-23T19:17:30.566Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69f8dc9fcbff5d86103c010a
Added to database: 5/4/2026, 5:51:27 PM
Last enriched: 5/12/2026, 6:28:22 AM
Last updated: 6/19/2026, 1:17:45 PM
Views: 70
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.