---
id: "GHSA-77rh-m34w-rv36"
kind: "vulnerability"
aliases: ["GHSA-77rh-m34w-rv36"]
title: "Duplicate Advisory: Agno: Arbitrary code execution via `eval()` on `field_type` in `FunctionCall`"
severity: "critical"
cvss: null
epss: null
exploited: false
status: "withdrawn"
category: "ai-tooling"
products: [{"name": "agno", "fixed": ["2.3.24"], "affected": "< 2.3.24", "ecosystem": "pypi"}]
ecosystems: ["pypi"]
tags: ["agno", "ai-agents", "ai-tooling", "cwe-95", "python"]
not_affected_if: ["version-2.3.24-or-later"]
published_at: "2026-04-02T15:31:43+00:00"
first_seen_at: "2026-10-27T13:31:05+00:00"
updated_at: "2026-10-27T13:32:30+00:00"
sources: [{"source": "ghsa", "url": "https://github.com/advisories/GHSA-77rh-m34w-rv36", "first_seen_at": "2026-10-27T13:31:05+00:00"}]
---

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

Agno versions before 2.3.24 pass the field_type value in a FunctionCall to eval(), so attacker-controlled input is executed as Python. An attacker who can influence that field can run arbitrary code on the server.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- pypi:agno affected < 2.3.24 fixed 2.3.24

## How to check

- Check the installed Agno version with `pip show agno` and compare it to `2.3.24`.
- unknown

## Fix

- Upgrade the Agno Python package to `2.3.24` or later.

## Timeline

- 2026-10-27T13:31:05+00:00 ghsa https://github.com/advisories/GHSA-77rh-m34w-rv36

## From the sources

### Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-m4w4-3r8h-jw98. This link is maintained to preserve external references.

### Original Description
Agno versions prior to 2.3.24 contain an arbitrary code execution vulnerability in the model execution component that allows attackers to execute arbitrary Python code by manipulating the field_type parameter passed to eval(). Attackers can influence the field_type value in a FunctionCall to achieve remote code execution.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
