CVE-2026-37003

Remote Code Execution through Unfiltered LLM Input in Agno PythonTools

Published Aug 27, 2026 CVSS 3.1 · 9.8 Critical EPSS 1.3% KEV · Not listed
Description
Agno up to and including 2.5.8 is vulnerable to Remote Code Execution (RCE) via prompt injection. The PythonTools and ShellTools components pass unsanitized, LLM-generated arguments directly to execution sinks including exec(), runpy.run_path(), and subprocess.run(). An unauthenticated attacker can exploit this by embedding malicious instructions in content processed by the agent (such as web pages or documents), allowing for arbitrary code and OS command execution on the host server.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title Remote Code Execution through Unfiltered LLM Input in Agno PythonTools
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Remote Code Execution via Unsanitized Prompt Injection in Agno 2.5.8
Weaknesses CWE-78
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
First Time appeared Agno
Agno agno
Vendors & Products Agno
Agno agno
Type Values Removed Values Added
Title Remote Code Execution via Unsanitized Prompt Injection in Agno 2.5.8
Weaknesses CWE-78
CWE-94
Type Values Removed Values Added
Description Agno up to and including 2.5.8 is vulnerable to Remote Code Execution (RCE) via prompt injection. The PythonTools and ShellTools components pass unsanitized, LLM-generated arguments directly to execution sinks including exec(), runpy.run_path(), and subprocess.run(). An unauthenticated attacker can exploit this by embedding malicious instructions in content processed by the agent (such as web pages or documents), allowing for arbitrary code and OS command execution on the host server.
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Sep 1, 2026, 7:34 PM
Reserved
Apr 6, 2026, 12:00 AM
Status
Deferred
Published
Aug 27, 2026, 8:17 PM
Modified
Sep 8, 2026, 7:29 PM