NetSight
critical9.8

CVE-2026-37003

Agno up to and including 2.5.8 is vulnerable to Remote Code Execution (RCE) via prompt injection.

Impact

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.

Affected products

VendorProductAffected versions
AgnoAgno
through 2.5.8

Versions were read from the advisory text. No structured product data has been published for this record yet.

Weakness classification

References