---
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
  - url: 'https://github.com/agno-agi/agno/security/advisories/GHSA-m4w4-3r8h-jw98'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-35002'
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/agno/PYSEC-2026-256.yaml
  - url: 'https://pypi.org/project/agno'
  - url: 'https://github.com/advisories/GHSA-m4w4-3r8h-jw98'
  - url: 'https://github.com/agno-agi/agno'
  - url: 'https://github.com/advisories/GHSA-77rh-m34w-rv36'
tags:
  - nvd
  - cve.org
  - ghsa
  - pip
  - osv
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: total
  timestamp: '2026-04-02T15:23:11.274152Z'
scores:
  nvd: 9.8
  cna: 9.3
  ghsa: 9.8
  osv: 9.8
epss: 0.00842
epssPercentile: 0.57707
ingestedAt: '2026-10-08T16:52:14.676Z'
aliases:
  - GHSA-m4w4-3r8h-jw98
  - GHSA-77rh-m34w-rv36
  - PYSEC-2026-256
ecosystem: pip
---

## 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`

## Package advisory (CVE-2026-35002)

Affected packages:

- `agno < 2.3.24`

Patched in:

- `agno 2.3.24`

Source: https://github.com/advisories/GHSA-m4w4-3r8h-jw98
