A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-10105

CVE-2026-10105: agno ClickHouse SQLi Vulnerability

CVE-2026-10105 is a SQL injection flaw in agno 2.6.5 that exploits unsafe f-string interpolation in the ClickHouse backend, enabling data deletion and extraction. This article covers technical details, impact, and mitigations.

Published: June 4, 2026

CVE-2026-10105 Overview

CVE-2026-10105 is a SQL injection vulnerability [CWE-89] in agno 2.6.5, an open-source agentic AI framework. The flaw resides in the ClickHouse vector database backend, specifically in the delete_by_metadata() method implemented in clickhousedb.py. Attackers with the ability to supply metadata keys and values can inject arbitrary SQL expressions through unsafe f-string interpolation. Successful exploitation enables row deletion, targeted record manipulation, and data extraction through error-based or blind SQL injection techniques.

Critical Impact

An authenticated attacker can execute arbitrary SQL against the ClickHouse backend, delete vector store data, and exfiltrate sensitive information by abusing the delete_by_metadata() method.

Affected Products

  • agno 2.6.5 (agentic AI framework)
  • ClickHouse vector database integration in agno
  • Applications using clickhousedb.pydelete_by_metadata() method

Discovery Timeline

  • 2026-05-29 - CVE-2026-10105 published to NVD
  • 2026-06-02 - Last updated in NVD database

Technical Details for CVE-2026-10105

Vulnerability Analysis

The vulnerability exists in agno's ClickHouse vector database backend. The delete_by_metadata() method in clickhousedb.py builds SQL DELETE statements by concatenating user-supplied metadata keys and values directly into the query string using Python f-string interpolation. No parameterized queries, escaping, or input validation are applied before the metadata reaches the SQL execution path.

An attacker who can influence the metadata dictionary passed to delete_by_metadata() can break out of the intended literal context and append arbitrary SQL clauses. This includes modifying WHERE conditions to delete all rows, targeting specific records, or leveraging ClickHouse-specific error messages and timing differences to perform blind data extraction.

Because agno is commonly used to back retrieval-augmented generation (RAG) pipelines, the metadata values are often derived from upstream agent or user inputs, expanding the practical attack surface.

Root Cause

The root cause is unsafe string interpolation when constructing SQL statements. The delete_by_metadata() implementation uses f-strings to embed metadata keys and values into the query rather than passing them as bound parameters through the ClickHouse client. This pattern matches the classic CWE-89 anti-pattern of mixing code and data in the same string.

Attack Vector

Exploitation occurs over the network against any application that exposes the agno vector store deletion functionality to attacker-controlled metadata. The attacker submits crafted metadata keys or values containing SQL meta-characters and clauses. The injected payload alters the DELETE statement structure, enabling unauthorized data destruction, selective row removal, or inference-based data exfiltration through error-based or blind techniques.

The vulnerability mechanism is described in detail in the VulnCheck SQL Injection Advisory and the upstream GitHub Issue Report.

Detection Methods for CVE-2026-10105

Indicators of Compromise

  • Unexpected DELETE statements in ClickHouse query logs referencing the agno vector table with non-literal WHERE clauses.
  • Metadata key or value fields containing SQL syntax such as single quotes, OR 1=1, UNION, comment sequences, or ClickHouse functions like sleep().
  • Sudden drops in vector store row counts or missing embedding records.
  • ClickHouse error log entries tied to malformed DELETE queries originating from the agno service account.

Detection Strategies

  • Enable ClickHouse query_log and alert on DELETE statements against agno-managed tables that contain suspicious operators or function calls in the WHERE clause.
  • Instrument the agno application layer to log all metadata keys and values passed to delete_by_metadata() and flag entries that contain quote characters or SQL keywords.
  • Run static analysis (for example, Semgrep or CodeQL rules) for f-string SQL construction patterns in any forked or vendored copies of clickhousedb.py.

Monitoring Recommendations

  • Forward ClickHouse audit and query logs to a centralized analytics platform to correlate anomalous deletion activity with upstream agent inputs.
  • Baseline normal deletion volume per tenant or per agent and alert on deviations.
  • Monitor for repeated failed queries indicative of blind SQL injection probing, including time-based payloads.

How to Mitigate CVE-2026-10105

Immediate Actions Required

  • Identify all deployments running agno 2.6.5 with the ClickHouse vector backend and restrict network access to trusted callers only.
  • Disable or gate the delete_by_metadata() code path until a patched release is deployed.
  • Audit ClickHouse query logs for prior exploitation attempts and validate vector store integrity.
  • Rotate any credentials used by the agno service account against ClickHouse if compromise is suspected.

Patch Information

Upstream remediation is tracked in the agno repository. Review the GitHub Pull Request and the associated Pull Request Changes for the fix that replaces unsafe f-string interpolation with safe parameter binding. Upgrade to the fixed version once released by the agno maintainers.

Workarounds

  • Wrap delete_by_metadata() calls with an allowlist that restricts metadata keys to a known schema and rejects values containing SQL meta-characters.
  • Run the agno ClickHouse user with the least privileges necessary, removing DROP and broad DELETE permissions where possible.
  • Place the agno service behind authenticated APIs and validate all upstream metadata inputs before passing them to the vector store layer.

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechClickhouse

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/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
  • AvailabilityLow
  • CWE References
  • CWE-89
  • Technical References
  • GitHub Issue Report

  • GitHub Pull Request

  • GitHub Pull Request Changes

  • GitHub Pull Request Changes

  • VulnCheck SQL Injection Advisory
  • Related CVEs
  • CVE-2024-6873: ClickHouse Server DoS Vulnerability

  • CVE-2025-1386: ClickHouse Ch-Go Library SSRF Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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