All vulnerabilities

PyPI

CVE-2026-35002

Agno: Arbitrary code execution via `eval()` on `field_type` in `FunctionCall`

Severity
Critical 9.8
Published
27 Oct 2026
Last changed
27 Oct 2026
Added to UpHeron
23 Nov 2026
Fixed in
2.3.24
Exploit chance
0.9% in the next 30 daysHigher than 59% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Eval injection (CWE-95)
Attack
Over the network · No login needed · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Also known as
GHSA-77rh-m34w-rv36, GHSA-m4w4-3r8h-jw98, PYSEC-2026-256
Sources
OSV.dev and GitHub

Description

Agno versions prior to 2.3.24 contain an arbitrary code execution vulnerability in the model execution component. The field_type parameter on a FunctionCall input field was passed to Python's built-in eval(), allowing an attacker who could influence that value to execute arbitrary Python code in the Agno process.

This is a code injection flaw (CWE-95) with full impact to confidentiality, integrity, and availability. CVSS 3.1 score: 9.3 (Critical).

Any deployment that exposes Agno to user-influenced FunctionCall inputs (for example via an API, web UI, or untrusted tool/model output) is affected.

From the GitHub Advisory Database, CC BY 4.0.

Workarounds

There is no safe workaround. Users who cannot upgrade should ensure no untrusted input can reach the field_type parameter of FunctionCall input fields, but upgrading is strongly preferred.

Workarounds as given by the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
agnoPyPI · osv:PyPI:agno
  • Every version before 2.3.24

About agno

Weekly downloads (PyPI)
702,241PyPI Stats, 24 Nov 2026

Vulnerabilities in agno

In our list
2
Published in the last 12 months
2
Critical, last 12 months
2
High, last 12 months
0
Known exploited
0
Search the list for agno

References