YFarmX logoYFarmX

Tools AI Risk Radar ai-incident-0022

Incident record

The Agno agent framework passed model output straight into exec()

Severity
Critical
Status
Patched
Type
Prompt Injection
Target
Agno up to and including 2.5.8
Actor
researcher
CVE
CVE-2026-37003

What happened

Agno up to 2.5.8 passed unsanitised, model-generated arguments from its PythonTools and ShellTools components directly into exec(), runpy.run_path() and subprocess.run(). Instructions planted in anything the agent read, a web page or a document, reached code and command execution on the host with no authentication.

NVD scores it 9.8 critical. The framework treated model output as trusted input to an interpreter, which removes any distinction between what the agent was asked to do and what a document it happened to read told it to do.

Sources

One record from the AI Risk Radar, maintained by the Security Desk. Data: CSV · JSON ·RSS · CC BY 4.0 with attribution to YFarmX.Tracker updated · 18 September 2026