SQL Injection Affecting cocoindex package, versions [0.3.28,0.3.34)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (14th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-COCOINDEX-15435576
  • published6 Mar 2026
  • disclosed2 Mar 2026
  • credit4ur0n

Introduced: 2 Mar 2026

CVE-2026-28438  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade cocoindex to version 0.3.34 or higher.

Overview

cocoindex is a With CocoIndex, users declare the transformation, CocoIndex creates & maintains an index, and keeps the derived index up to date based on source update, with minimal computation and changes.

Affected versions of this package are vulnerable to SQL Injection in the Doris target connector due to lack of validation of the table name parameter when constructing ALTER TABLE statements. An attacker can execute arbitrary SQL commands by supplying a crafted table name from an untrusted source.

References

CVSS Base Scores

version 4.0
version 3.1