CVE-2026-35002: Agno Agno Is Vulnerable To Eval Vulnerability
CRITICALCVE-2026-35002 is a CRITICAL agno is vulnerable to eval vulnerability (CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')) affecting Agno libraries in the PyPI ecosystem. The issue involves agno is vulnerable to eval injection. Remediation is available by upgrading affected packages to version 2.3.24.
CVE-2026-35002 at a Glance
How to Fix CVE-2026-35002
To remediate this vulnerability, upgrade all affected Agno dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install agno>=2.3.24
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show agno
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-35002, inspect your installed packages using pip:
pip show agno
Analyze the terminal output to locate any version of Agno in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.3.24), your application is affected.
Note: The pip show agno command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection'), where the product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. "eval"). In Agno, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-35002 Affected Agno Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
agno
|
PyPI |
< 2.3.24
|
2.3.24
|
References
Frequently Asked Questions
What is CVE-2026-35002?
Which Agno versions are affected?
What version fixes CVE-2026-35002?
Is agno affected?
What CWE is associated with CVE-2026-35002?
How can I check PyPI dependencies for CVE-2026-35002?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-77rh-m34w-rv36",
"modified" : "2026-04-04T06:02:27Z",
"published" : "2026-04-02T15:31:43Z",
"aliases" : [ "CVE-2026-35002" ],
"summary" : "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.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "agno"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.3.24"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-35002"
}, {
"type" : "WEB",
"url" : "https://github.com/agno-agi/agno/commit/cbf675521d4d2281925a051784a3b94172e56416"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/agno-agi/agno"
}, {
"type" : "WEB",
"url" : "https://github.com/agno-agi/agno/releases/tag/v2.3.24"
}, {
"type" : "WEB",
"url" : "https://www.vulncheck.com/advisories/agno-field-type-eval-injection-arbitrary-code-execution"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-95" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-04-04T06:02:27Z",
"nvd_published_at" : "2026-04-02T15:16:52Z"
}
}