Security Digest · Vulnerability record
CVE-2026-35002: Agno: Arbitrary code execution via `eval()` on `field_type` in `FunctionCall`
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 fieldtype parameter passed to eval().
CVSS 9.3 Critical EPSS 0.9% · p59
Should you act?
Critical and remotely reachable
No known exploitation yet, but it is network-reachable without credentials. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.
- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 0.9%, percentile 59: FIRST’s model estimates a 0.9% chance of exploitation activity in the next 30 days, higher than 59% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes
agno(PyPI) < 2.3.24, fixed in 2.3.24. Check your lockfile, including transitive dependencies.
What it is
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 fieldtype parameter passed to eval(). Attackers can influence the fieldtype value in a FunctionCall to achieve remote code execution.
From the GitHub advisory
Impact Agno versions prior to 2.3.24 contain an arbitrary code execution vulnerability in the model execution component. The fieldtype parameter on a FunctionCall input field was passed to Python's built-in eval(), allowing an attacker who could influence that value to execute arbitrary Python code in the Agno process.
This is a code injection flaw (CWE-95) with full impact to confidentiality, integrity, and availability. CVSS 3.1 score: 9.3 (Critical).
Any deployment that exposes Agno to user-influenced FunctionCall inputs (for example via an API, web UI, or untrusted tool/model output) is affected.
Patches Fixed in Agno 2.3.24.
The unsafe eval() call was replaced with a fixed typemapping dictionary lookup, and fieldtype is now validated as either a known string key or an already-resolved type object before use. See commit cbf67552 (PR #5912).
Weakness type: CWE-95.
Product: agno (PyPI) · Assigned by: VulnCheck · Published: 2026-04-02
Affected and fixed versions
| Ecosystem | Package | Vulnerable | First fixed |
|---|---|---|---|
| PyPI | agno | < 2.3.24 | 2.3.24 |
| Vendor | Product | Affected versions (per CVE record) |
|---|---|---|
| Agno | Agno | < 2.3.24, cbf675521d4d2281925a051784a3b94172e56416 |
Severity scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| VulnCheck | 4.0 | 9.3 Critical | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- Attack vector: network (remotely reachable)
- Attack complexity: low
- Attack requirements: none
- Privileges required: none (no login)
- User interaction: none
CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.
Exploitation and urgency
- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none, automatable yes, technical impact total.
- FIRST EPSS (model of 2026-11-16): 0.86% probability of exploitation activity in the next 30 days; percentile 59.
Timeline
- — CVE record published by VulnCheck
- — CVE record last updated
- — GitHub-reviewed advisory GHSA-m4w4-3r8h-jw98 published (critical)
Sources and references
Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.
Vendor and project advisories, patches
- github.com github.com
- github.com github.com
Vulnerability records
- GitHub Advisory GHSA-m4w4-3r8h-jw98 github.com
- CVE.org record CVE-2026-35002 cve.org
- NVD entry CVE-2026-35002 nvd.nist.gov
Other references from the CVE record and advisory
- vulncheck.com vulncheck.com
- github.com github.com
- github.com github.com
- pypi.org pypi.org