Vulnerabilities in pkg:pypi/agno

PACKAGE
Advisory Identifier: GHSA-82m5-3pcp-hccq
Advisory Summary

CVE-2026-10105 is a HIGH (CVSS 8.3) sql injection vulnerability (CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')) affecting Agno libraries in the PyPI ecosystem. The issue involves agno contains a sql injection vulnerability. Remediation is available in the latest vendor maintenance releases.

3 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/agno

3 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/agno. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-82m5-3pcp-hccq CVE-2026-10105 HIGH agno contains a SQL injection vulnerability
GHSA-77rh-m34w-rv36 CVE-2026-35002 CRITICAL Agno is vulnerable to Eval Injection
GHSA-vw84-hprm-cxmm CVE-2025-64168 HIGH Agno session state overwrites between different sessions/users

CVE-2026-10105 at a Glance

CVE Identifier CVE-2026-10105
GHSA Identifier GHSA-82m5-3pcp-hccq
Severity HIGH
CVSS v3.1 Base Score 8.3
CWE Classification CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Affected Product Agno
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 8.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability Low (A:L)

How to Fix CVE-2026-10105

To remediate this vulnerability, upgrade all affected Agno dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

agno fixed: Latest secure release
pip install agno>=Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show agno

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-10105, inspect your installed packages using pip:

pip show agno

Analyze the terminal output to locate any version of Agno in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The pip show agno command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection'), where the product constructs all or part of an sql command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended sql command when it is sent to a downstream component. without sufficient removal or quoting of sql syntax in user-controllable inputs, the generated sql query can cause those inputs to be interpreted as sql instead of ordinary user data. In Agno, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

CVE-2026-10105 Affected Agno Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
agno
PyPI
≤ 2.6.5

References

Frequently Asked Questions

What is CVE-2026-10105?
CVE-2026-10105 is a security vulnerability in Agno involving agno contains a SQL injection vulnerability under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection').
Which Agno versions are affected?
Affected versions include releases prior to current release patches across affected packages: agno.
What version fixes CVE-2026-10105?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is agno affected?
Yes, agno is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2026-10105?
CVE-2026-10105 has a CVSS v3.1 base score of 8.3 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L.
What CWE is associated with CVE-2026-10105?
CVE-2026-10105 is classified under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.).
How can I check PyPI dependencies for CVE-2026-10105?
Run the dependency tree command: 'pip show agno'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-82m5-3pcp-hccq",
  "modified" : "2026-07-02T20:52:33Z",
  "published" : "2026-05-29T18:31:34Z",
  "aliases" : [ "CVE-2026-10105" ],
  "summary" : "agno contains a SQL injection vulnerability",
  "details" : "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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L"
  }, {
    "type" : "CVSS_V4",
    "score" : "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "agno"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "2.6.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-10105"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/agno-agi/agno/issues/7866"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/agno-agi/agno/pull/7883"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/agno-agi/agno/pull/7883/changes/26a7439b803c0ccc9a58ee53572d8088a678923f"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/agno-agi/agno/pull/7883/changes/a0ec99305e782e68ba26f5966c53ad50b5f40132"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/agno-agi/agno"
  }, {
    "type" : "WEB",
    "url" : "https://www.vulncheck.com/advisories/agno-sql-injection-via-clickhouse-delete-by-metadata"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-89" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-02T20:52:33Z",
    "nvd_published_at" : "2026-05-29T18:16:31Z"
  }
}