PyPA Advisory Database
PYSEC-2026-256
Agno is vulnerable to Eval Injection
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | agno | All versions before 2.3.24 (fixed in 2.3.24) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-35002
- https://github.com/agno-agi/agno/commit/cbf675521d4d2281925a051784a3b94172e56416
- https://github.com/agno-agi/agno
- https://github.com/agno-agi/agno/releases/tag/v2.3.24
- https://www.vulncheck.com/advisories/agno-field-type-eval-injection-arbitrary-code-execution
- https://pypi.org/project/agno
- https://github.com/advisories/GHSA-77rh-m34w-rv36