CocoIndex Doris target connector didn't verify table name when constructing ALTER TABLE statements
CVE-2026-28438 · GHSA-59g6-v3vg-f7wc · published 2026-03-02 · updated 2026-03-06
- Severity
- High
- CVSS score
- 8.0
- Chance of exploitation (EPSS)
- 0.33%
- Fixed in
- 0.3.34
- Exploitation No known exploitation
- Automatable Yes
- Technical impact Partial
- CISA SSVC
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.
Upgrade cocoindex to 0.3.34 or later.
Yes, it's fixed in cocoindex 0.3.34: we start to validate table names passed to Doris target at entry point and error out immediately if it's not a valid identifier.
Users should make sure table names used to configure CocoIndex targets are valid, regardless of this fix. Which means The table name comes from a trusted source (e.g. for most cases it's just a fixed string literal). Even if it comes from an untrusted source (e.g. provided by end user), it should be validated before using it to configure the Doris target for CocoIndex.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| cocoindex | PyPI | < 0.3.34 | 0.3.34 |
- CriticalLiteLLM has SQL Injection in Proxy API key verificationlitellmExploited
- Criticaln8n Vulnerable to Remote Code Execution via Expression Injectionn8nExploited
- HighLiteLLM has a sandbox escape in custom-code guardraillitellmExploited
- HighLangflow affected by Remote Code Execution via validate_code() exec()langflowExploited
- Criticalgit_add runs submodule filter commands when gitlink mode is not 160000mcp-server-git
- Criticalmcp-server-git: unexpandable sparse index lets submodule filter drivers runmcp-server-git
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.