CVE-2026-35002
Agno: Arbitrary code execution via `eval()` on `field_type` in `FunctionCall`
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| pip::GitHub Security Advisory pip | agno | 2.3.24 |
References
- https://github.com/agno-agi/agno
- https://github.com/agno-agi/agno/commit/cbf675521d4d2281925a051784a3b94172e56416
- https://github.com/agno-agi/agno/releases/tag/v2.3.24
- https://github.com/agno-agi/agno/security/advisories/GHSA-m4w4-3r8h-jw98
- https://github.com/pypa/advisory-database/tree/main/vulns/agno/PYSEC-2026-256.yaml
- https://nvd.nist.gov/vuln/detail/CVE-2026-35002
- https://pypi.org/project/agno
- https://www.vulncheck.com/advisories/agno-field-type-eval-injection-arbitrary-code-execution