---
id: CVE-2026-35002
title: >-
  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()
summary: >-
  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 …
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-95
vendor: agno
product: agno
affected:
  - agno < 2.3.24
patched:
  - agno 2.3.24
published: '2026-04-02'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T16:17:14.047'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-35002'
references:
  - url: >-
      https://github.com/agno-agi/agno/commit/cbf675521d4d2281925a051784a3b94172e56416
    label: disclosure@vulncheck.com
  - url: 'https://github.com/agno-agi/agno/releases/tag/v2.3.24'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/agno-field-type-eval-injection-arbitrary-code-execution
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: total
  timestamp: '2026-04-02T15:23:11.274152Z'
scores:
  nvd: 9.8
  cna: 9.3
epss: 0.0115
epssPercentile: 0.65891
ingestedAt: '2026-10-08T16:52:14.676Z'
---

## Overview

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.

## Affected

- `agno < 2.3.24`

## Remediation

Upgrade past the affected range:

- `agno 2.3.24`
