Cocoindex
CVE-2026-28438
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessProvide untrusted table name to CocoIndex
-
ExploitFramework passes unsanitized input to Doris connector
-
ExecutionSQL injection in ALTER TABLE statement
-
ImpactModify database schema or execute arbitrary SQL commands
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | CocoIndex version prior to 0.3.34 with Doris target connector enabled, receiving table name from untrusted upstream data source without input validation. |
| Impact | CVSS 9.8. |
| Exploit ScenarioDerived | SQL injection via table name. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 12, 2026
SQL injection in CocoIndex Doris connector before 0.3.34. Patch available.
Earlier versions of this analysis (1)
SQLi in CocoIndex.
RemediationAI
Update.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-89 unvalidated table name.
Know when Cocoindex gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
2DescriptionGitHub Advisory
CocoIndex is a data transformation framework for AI. Prior to version 0.3.34, the Doris target connector didn't verify the configured table name before creating some SQL statements (ALTER TABLE). So, in the application code, if the table name is provided by an untrusted upstream, it expose vulnerability to SQL injection when target schema change. This issue has been patched in version 0.3.34.
Executive ViewAI
A critical vulnerability in CocoIndex versions prior to 0.3.34 allows unauthenticated attackers to execute arbitrary SQL commands through improper table name validation in the Doris connector, potentially enabling complete database compromise. Organizations using CocoIndex for data transformation should prioritize immediate patching to prevent unauthorized data access, modification, or destruction.
Apply vendor patch. If immediate patching is impossible: (1) Restrict network access to CocoIndex and Doris database to authorized users only via firewall rules, (2) Disable or restrict the Doris target connector functionality until patching is complete, (3) Implement database-level monitoring and alerting for unauthorized ALTER TABLE commands, (4) Enforce read-only access policies where possible until patch deployment.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
GHSA-59g6-v3vg-f7wc
NVD
CVE.org
EPSS
Exploit-DB