Skip to content
CriticalVulnerability

GHSA-m4w4-3r8h-jw98: Agno: Arbitrary code execution via `eval()` on `field_type` in `FunctionCall`

Published
Record updated
View JSON
Affected
  • agno < 2.3.24
Fixed in
2.3.24
  • released January 8, 2026, 292 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.9%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

Agno versions before 2.3.24 pass the `field_type` parameter of a `FunctionCall` input field to Python's built-in `eval()`. An attacker who can influence that value can run arbitrary Python code in the Agno process, which the advisory rates CVSS 3.1 9.3 (Critical) and classifies as CWE-95. Any deployment that exposes Agno to user-influenced FunctionCall inputs, such as through an API, web UI, or untrusted tool or model output, is affected.

Mitigation

Fixed in Agno 2.3.24. The unsafe `eval()` call was replaced with a `type_mapping` dictionary lookup, and `field_type` is now validated as a known string key or an already-resolved `type` object. All users should upgrade to 2.3.24 or later; the current 2.6.x release line includes the fix. The source states there is no safe workaround for users who cannot upgrade, beyond ensuring no untrusted input reaches the `field_type` parameter.