Skip to main content

agno EUVDEUVD-2026-33358

| CVE-2026-10105 HIGH
SQL Injection (CWE-89)
2026-05-29 VulnCheck GHSA-82m5-3pcp-hccq
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to agno-fronted app
  2. Delivery
    Identify metadata-accepting endpoint
  3. Exploit
    Submit crafted metadata key/value
  4. Execution
    Trigger f-string SQL concatenation in delete_by_metadata
  5. Persist
    ClickHouse executes injected clause
  6. Impact
    Delete rows or exfiltrate via blind/error SQLi

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires (1) the target deployment using the ClickHouse vector database backend (ClickHouseDb in libs/agno/agno/vectordb/clickhouse/clickhousedb.py) - installations on PgVector, LanceDB, or any other backend are not affected, (2) the application reaching the vulnerable delete_by_metadata() method with attacker-influenced dictionary keys or values, which typically means an exposed agent tool, API endpoint, or admin function that forwards user-supplied metadata into vector cleanup, and (3) low-privileged authenticated access to that interface (CVSS PR:L). Exploitation does not need user interaction (UI:N) or attack prerequisites (AT:N) and is network-reachable (AV:N) with low complexity (AC:L), but is bounded by the fact that delete_by_metadata is not necessarily exposed to anonymous traffic - single-tenant agent deployments where only operators trigger deletes are not realistically reachable.

Impact

CVSS 4.0 8.7 (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L) describes a network-reachable, low-complexity attack requiring low privileges and no user interaction, with high confidentiality and integrity impact and low availability impact - consistent with an authenticated SQLi that can read and tamper with the vector store but not necessarily crash it. EPSS and CISA KEV data are not provided in the input, so real-world exploitation probability and active-exploitation status cannot be quantified; no public exploit identified at time of analysis. Practical risk depends on agno deployment shape: if metadata-bearing calls reach delete_by_metadata via an LLM tool or agent endpoint that forwards user-controlled fields, the PR:L requirement may be satisfied by any application user and the real risk approaches the CVSS rating; in closed, single-tenant agent harnesses where metadata is operator-supplied, exposure is lower. The CVSS vector indicates network reach, but exploitation still requires that the calling application expose delete_by_metadata to untrusted input - verify this against your integration before deprioritising.

Exploit ScenarioDerived

An attacker with low-privileged access to an agno-powered application - for example a chat user whose prompts feed metadata into an agent tool that calls ClickHouseDb.delete_by_metadata - supplies a crafted metadata key such as x') = 1 OR (JSONExtractString(toString(filters), 'y (the exact pattern exercised by the regression test in the patch). The interpolated WHERE clause now evaluates true for every row, deleting the entire vector store, or it can be reshaped into a UNION/error-based payload to exfiltrate data from other ClickHouse tables the agno service account can read. No public PoC beyond the regression test in PR #7883 is identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – May 29, 2026

SQL injection in agno 2.6.5's ClickHouse vector database backend allows authenticated attackers to inject arbitrary SQL via metadata keys and values passed to delete_by_metadata(). The flaw stems from unsafe f-string interpolation in clickhousedb.py and enables row deletion, targeted data tampering, and information extraction through error-based or blind SQLi. No public exploit identified at time of analysis, but a vendor patch (PR #7883) is available and the issue was disclosed by VulnCheck.

Earlier versions of this analysis (2)
v2 May 29, 2026 - 18:29 cvss changed CVSS 8.7

SQL injection in agno 2.6.5's ClickHouse vector database backend allows authenticated attackers to inject arbitrary SQL via the delete_by_metadata() method, enabling row deletion, targeted record manipulation, or data extraction through error-based and blind techniques. The flaw stems from unsafe f-string interpolation of user-controlled metadata keys and values in clickhousedb.py, and an upstream fix is available (PR #7883) replacing string interpolation with ClickHouse named parameters. No public exploit identified at time of analysis, but the patch and detailed VulnCheck advisory provide a clear roadmap for exploitation.

v1 May 29, 2026 - 17:55 CVSS 8.3

SQL injection in agno 2.6.5's ClickHouse vector database backend allows authenticated attackers to execute arbitrary SQL via the delete_by_metadata() method, which unsafely interpolates user-controlled metadata keys and values into queries through Python f-strings. Successful exploitation enables row deletion, data extraction via error-based or blind injection, and tampering with vector store contents used by AI agent workflows. No public exploit identified at time of analysis, though the patched PR diff and unit tests publicly document the injection vectors, making PoC reconstruction trivial.

RemediationAI

Patch available per vendor advisory: upgrade agno to the release that contains PR https://github.com/agno-agi/agno/pull/7883, which rewrites delete_by_metadata to pass metadata keys and values as ClickHouse named parameters ({meta_key_N:String} / {meta_val_N:String|Float64|Bool}) instead of f-string-interpolated literals; the exact released patched version is not independently confirmed from the provided data, so pin to the first agno tag that includes commits 26a7439 and a0ec993. Until you can upgrade, the most effective compensating control is to stop forwarding untrusted metadata into ClickHouseDb.delete_by_metadata - either restrict the call site to operator-only code paths, or wrap it with a strict allowlist that rejects any key not matching ^[A-Za-z0-9_]+$ and coerces values to expected types before the call; this preserves functionality for trusted callers but blocks injection payloads. If agent tools expose deletion to end users, disable the delete-by-metadata tool entirely as an interim measure, accepting the loss of programmatic vector cleanup. Track the upstream issue at https://github.com/agno-agi/agno/issues/7866 and the VulnCheck advisory at https://www.vulncheck.com/advisories/agno-sql-injection-via-clickhouse-delete-by-metadata for a confirmed fixed version.

Affected VersionsENISA

agno 0 ≤26a7439b803c0ccc9a58ee53572d8088a678923f
agno 0 ≤2.6.5
agno 0 ≤a0ec99305e782e68ba26f5966c53ad50b5f40132

Affected Packages

pypi agno no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

agno is an open-source Python framework for building AI agents (CPE cpe:2.3:a:agno-agi:agno) that integrates with multiple vector database backends, including ClickHouse via the clickhouse_connect driver. The vulnerability is a classic CWE-89 (Improper Neutralization of Special Elements used in an SQL Command): the delete_by_metadata() method in libs/agno/agno/vectordb/clickhouse/clickhousedb.py iterated over caller-supplied metadata dictionaries and built ClickHouse JSONExtractString/JSONExtractFloat/JSONExtractBool WHERE conditions using Python f-string interpolation of both the dict key and value. Because neither identifier nor literal was passed through the ClickHouse named-parameter system ({name:Type} placeholders), any string that escaped the surrounding single quotes - for example a key containing ') = 1 OR (JSONExtractString(toString(filters), ' - was concatenated directly into the executed SQL. The fix replaces interpolation with named ClickHouse parameters (meta_key_N / meta_val_N typed as String, Float64, or Bool) so the driver performs proper escaping.

Know when Agno gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.7 HIGH
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

Primary rating from Vendor (VulnCheck) · only source for this CVE.

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Analysis Updated
May 29, 2026 - 18:29 vuln.today
v3 - CVSS changed
Analysis Updated
May 29, 2026 - 18:29 vuln.today
v2 - CVSS changed
CVSS changed
May 29, 2026 - 18:22 NVD
8.3 (HIGH) 8.7 (HIGH)

DescriptionCVE.org

agno 2.6.5 contains a SQL injection vulnerability in the ClickHouse vector database backend that allows attackers to inject arbitrary SQL expressions by supplying malicious metadata keys and values to the delete_by_metadata() method. Attackers can exploit the unsafe f-string interpolation in clickhousedb.py to delete all rows, target specific rows, or extract information through error-based or blind SQL injection techniques.

Executive ViewAI

Why It Matters

agno 2.6.5 deployments using ClickHouse backend are vulnerable to SQL injection by authenticated users, enabling deletion, modification, and extraction of database records. While no public exploit identified at time of analysis, the vulnerability is straightforward to exploit for any user with application access, directly threatening data integrity and confidentiality. Immediate patching is essential to restore secure data protection.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy