Intel

AIKIDO-2026-117200

agno is vulnerable to SQL Injection

SQL InjectionCVE-2026-10105 Published 4 days ago

83

High Risk

This Affects:

PYTHONagno
0.0.1 - 2.8.4
Fixed in 2.8.5
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.

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.

Background info

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

How to fix this

Upgrade the agno library to the patch version.