agno is vulnerable to SQL Injection
83
CVE Score
High
SQL Injection
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.
Upgrade the agno library to the patch version.
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.
0.0.1 - 2.8.4
Fixed in 2.8.5agno is vulnerable to SQL Injection in versions 0.0.1 - 2.8.4.
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.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.