The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-28438

CVE-2026-28438: Cocoindex SQL Injection Vulnerability

CVE-2026-28438 is a SQL injection flaw in Cocoindex's Doris target connector that fails to verify table names in ALTER TABLE statements. This article covers technical details, affected versions, impact, and mitigation.

Published: March 13, 2026

CVE-2026-28438 Overview

CocoIndex is a data transformation framework for AI that provides connectors for various data targets. Prior to version 0.3.34, the Doris target connector contains a SQL injection vulnerability due to insufficient validation of table names before constructing SQL statements. When an application uses untrusted input to configure the table name, attackers can inject malicious SQL code through ALTER TABLE statements during target schema changes.

Critical Impact

This SQL injection vulnerability allows attackers to manipulate database operations through the Doris target connector when untrusted data is used for table name configuration, potentially leading to unauthorized data modification.

Affected Products

  • CocoIndex versions prior to 0.3.34
  • Applications using the Doris target connector with untrusted table name inputs
  • AI data transformation pipelines utilizing CocoIndex with external configuration sources

Discovery Timeline

  • 2026-03-06 - CVE-2026-28438 published to NVD
  • 2026-03-10 - Last updated in NVD database

Technical Details for CVE-2026-28438

Vulnerability Analysis

This vulnerability is classified as CWE-89 (SQL Injection) and affects the Doris target connector component within CocoIndex. The flaw stems from the connector's failure to properly sanitize or validate table name parameters before incorporating them into dynamically constructed SQL statements. When schema changes are processed through ALTER TABLE operations, user-controlled table names are concatenated directly into SQL queries without proper escaping or parameterization.

The network-accessible attack vector enables remote exploitation without authentication requirements. Successful exploitation allows attackers to manipulate the integrity of database operations, though the vulnerability appears limited to data modification rather than full data exfiltration or availability impact based on the vulnerability characteristics.

Root Cause

The root cause is improper input validation in the Doris target connector. When constructing ALTER TABLE statements for schema changes, the connector directly uses the configured table name without verifying it against SQL injection patterns or using parameterized queries. This allows specially crafted table name values to break out of the intended SQL context and execute arbitrary SQL commands.

Attack Vector

The attack vector requires an application to accept table name configuration from an untrusted source and pass it to the CocoIndex Doris target connector. When the connector performs schema change operations, the malicious table name is incorporated into ALTER TABLE statements, allowing the injected SQL to execute against the target Doris database.

An attacker could exploit this by:

  1. Providing a malicious table name containing SQL injection payloads
  2. Triggering a schema change operation in the target connector
  3. The unsanitized input is concatenated into ALTER TABLE statements
  4. Injected SQL commands execute with the connector's database privileges

The security patch addresses this by ensuring proper execution context initialization and export operation handling:

rust
     pub source_id: i32,
 }
 
+#[derive(Debug, Clone)]
 pub struct ExportOpExecutionContext {
     pub target_id: i32,
     pub schema_version_id: usize,

Source: GitHub Commit ba2fc4a

The fix also ensures execution plans are properly initialized after target setup:

rust
         Some(&setup_execution_context.setup_state),
         existing_flow_ss,
         &analyzed_flow.flow_instance_ctx,
+        analyzed_flow.execution_plan.clone(),
+        setup_execution_context.export_ops.clone(),
     )
     .await?;
 

Source: GitHub Commit ba2fc4a

Detection Methods for CVE-2026-28438

Indicators of Compromise

  • Unusual ALTER TABLE statements in Doris database logs containing SQL injection patterns such as semicolons, comment markers (--, /*), or UNION clauses
  • Database errors indicating malformed SQL syntax in table name fields
  • Unexpected schema modifications or data changes in Doris target databases
  • Application logs showing table names with special characters or SQL keywords

Detection Strategies

  • Implement database activity monitoring to flag ALTER TABLE operations with suspicious table name patterns
  • Deploy web application firewalls (WAF) or input validation layers to detect SQL injection attempts in configuration parameters
  • Enable verbose logging for CocoIndex operations and monitor for anomalous table name values
  • Use static code analysis tools to identify instances where untrusted input flows to the Doris connector configuration

Monitoring Recommendations

  • Monitor Doris database query logs for injection patterns in DDL statements
  • Set up alerts for failed SQL parsing or unexpected SQL syntax errors
  • Review application configurations to ensure table names are hardcoded or sourced from trusted configuration stores
  • Implement runtime application self-protection (RASP) to detect SQL injection attempts

How to Mitigate CVE-2026-28438

Immediate Actions Required

  • Upgrade CocoIndex to version 0.3.34 or later immediately
  • Audit application code to identify any instances where table names are sourced from untrusted inputs
  • Implement input validation for all configuration parameters passed to CocoIndex connectors
  • Review database logs for any evidence of prior exploitation attempts

Patch Information

The vulnerability has been patched in CocoIndex version 0.3.34. The fix is available in commit ba2fc4a89e22d35572c64bd2990737c7913b0729. Organizations should update their CocoIndex installation by pulling the latest version from the official repository.

For detailed information, refer to the GitHub Security Advisory GHSA-59g6-v3vg-f7wc and the GitHub commit with the security fix.

Workarounds

  • Ensure table names are always sourced from trusted, hardcoded configuration rather than user input
  • Implement strict allowlist validation for table names before passing them to CocoIndex
  • Deploy network segmentation to limit database access from potentially compromised application components
  • Use database user accounts with minimal required privileges for CocoIndex operations
bash
# Update CocoIndex to patched version
pip install cocoindex>=0.3.34

# Or update via cargo if using Rust directly
cargo update -p cocoindex

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechCocoindex

  • SeverityMEDIUM

  • CVSS Score6.9

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-89
  • Vendor Resources
  • GitHub Code Commit Update

  • GitHub Security Advisory GHSA-59g6-v3vg-f7wc
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English