CVE-2026-28438: CocoIndex SQL Injection Vulnerability in Doris Target Connector

cocoindex Updated 04 Mar 2026

Summary

02/03/2026
Yes i
High
8.0

CVE-2026-28438: CocoIndex Doris target connector didn't verify table name when constructing ALTER TABLE statements. Affects cocoindex versions < 0.3.34. Fixed in 0.3.34. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

CocoIndex is an open-source data integration tool designed to facilitate the transfer of data between various sources and targets. It provides connectors for different databases and services, allowing users to perform operations like data ingestion and transformation. The Doris target connector is specifically used for writing data to Apache Doris, a distributed SQL database. However, a recent vulnerability has been identified in the Doris target connector, where it fails to properly validate table names, potentially leading to SQL injection attacks.

Vulnerability Detail

The vulnerability arises from the Doris target connector's lack of verification for the configured table name before executing SQL statements, particularly ALTER TABLE. If an untrusted source provides the table name, it can lead to SQL injection, allowing attackers to manipulate database queries and potentially gain unauthorized access to sensitive data or execute arbitrary commands.

How To Fix

Minimum fixed version

0.3.34

This is the first release that contains the fix.

pip install --upgrade "cocoindex==0.3.34"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Users are advised to ensure that table names used in the configuration of CocoIndex targets are valid. This can be done by:

  • Using table names from trusted sources, such as fixed string literals.
  • Validating any table names provided by untrusted sources (e.g., end users) before using them in the Doris target configuration.

Conclusion

The CocoIndex Doris target connector has a significant vulnerability that could lead to SQL injection attacks due to improper validation of table names. Users are strongly encouraged to update to the patched version 0.3.34 and implement validation measures for table names to protect their applications.

See every vulnerability recorded for cocoindex →

Share this vulnerability

FAQ

The vulnerability has a CVSS score of 8.0, indicating a high severity level.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If exploited, this vulnerability could allow attackers to execute arbitrary SQL commands, potentially leading to data breaches or unauthorized access to sensitive information.

Yes, the vulnerability has been fixed in CocoIndex version 0.3.34. Users should upgrade to this version or later.

If an immediate upgrade is not possible, ensure that all table names are validated and come from trusted sources to mitigate the risk of SQL injection.

How To Fix

Minimum fixed version

0.3.34

This is the first release that contains the fix.

pip install --upgrade "cocoindex==0.3.34"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback