Intel

AIKIDO-2026-117200

agno is vulnerable to SQL Injection

CVE-2026-10105Published Jul 29, 2026
July 29, 2026

83

CVE Score

High

SQL Injection

Are you affected? Scan for Free

TL;DR

The ClickHouse vector database backend builds a SQL DELETE WHERE clause in delete_by_metadata by interpolating metadata keys and values directly into the query string with f-strings. Code that routes untrusted metadata into this method lets those values be parsed as SQL rather than as data. This enables injection that can delete all rows, target specific records, or extract data through error-based or blind techniques. The fix binds each metadata key and value as a ClickHouse named parameter so the driver escapes them instead of interpolating raw strings.

How do I fix this?

Upgrade the agno library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you use the ClickHouse vector database backend with untrusted input passed into the delete_by_metadata metadata filter.

Package

Versions

0.0.1 - 2.8.4

Fixed in 2.8.5

Background info

agno is vulnerable to SQL Injection in versions 0.0.1 - 2.8.4.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea