CVE-2026-28438: cocoindex · SQL Injection
Affects cocoindexSource CVE Database V5
Not known to be exploited · CVSS 6.9 Medium : upgrade to 0.3.34 when convenient.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 21% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.3.34
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 6 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade cocoindex and cocoindex-io/cocoindex to 0.3.34.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| cocoindex-iococoindex | Affected
| Fixed in
|
GitHubcocoindex-io/cocoindexpkg:github/cocoindex-io/cocoindexOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
The primary mitigation is to upgrade CocoIndex to version 0.3.34 or later, where the vulnerability has been patched. Until upgrade is possible, organizations should implement strict input validation and sanitization on all table name parameters, ensuring they conform to expected naming conventions and reject any suspicious characters or patterns that could enable SQL injection. Employing parameterized queries or prepared statements for all SQL commands, including schema alterations, can prevent injection attacks. Network-level controls should restrict access to the Doris target connector to trusted sources only. Monitoring and logging of SQL commands and schema changes can help detect suspicious activity. Additionally, conducting regular security code reviews and penetration testing focused on injection flaws in data transformation components is recommended to prevent similar issues.
Description
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.