---
id: CVE-2026-10105
title: >-
  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
summary: >-
  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. Att…
severity: high
cvss: 8.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L'
cwe:
  - CWE-89
vendor: agno-agi
product: agno
affected:
  - agno <= 2.6.5
  - agno <= 26a7439b803c0ccc9a58ee53572d8088a678923f
  - agno <= a0ec99305e782e68ba26f5966c53ad50b5f40132
published: '2026-05-29'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T16:17:05.900'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-10105'
references:
  - url: 'https://github.com/agno-agi/agno/issues/7866'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/agno-agi/agno/pull/7883'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/agno-agi/agno/pull/7883/changes/26a7439b803c0ccc9a58ee53572d8088a678923f
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/agno-agi/agno/pull/7883/changes/a0ec99305e782e68ba26f5966c53ad50b5f40132
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/agno-sql-injection-via-clickhouse-delete-by-metadata
    label: disclosure@vulncheck.com
  - url: 'https://github.com/agno-agi/agno/issues/7866'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-10105'
  - url: 'https://github.com/agno-agi/agno'
tags:
  - nvd
  - cve.org
  - exploit-available
  - osv
  - pip
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-06-02T01:43:05.133215Z'
epss: 0.00399
epssPercentile: 0.34027
aliases:
  - GHSA-82m5-3pcp-hccq
ecosystem: pip
ingestedAt: '2026-07-08T18:25:47.270Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-10105)

Affected packages:

- `agno <= 2.6.5`

Source: https://osv.dev/vulnerability/GHSA-82m5-3pcp-hccq
