Junglewise Threat Intelligence

CVE-2026-37003: Agno prompt injection remote code execution in PythonTools and ShellTools

CVE-2026-37003 · Severity: critical · CVSS 9.8 · Published 2026-08-27

Technologies: Agno. Vendors: Agno.

Executive brief

Agno is an AI agent platform that allows organizations to build autonomous agents for customer support, sales, research, and internal workflows. Versions up to 2.5.8 contain a critical vulnerability where malicious instructions embedded in web pages or documents processed by the agent can trigger arbitrary code execution on the host server, potentially compromising the entire agent platform and any data it accesses.

Technical details

The vulnerability is a prompt injection attack affecting Agno's PythonTools and ShellTools components. These tools accept LLM-generated arguments without sanitization and pass them directly to dangerous execution sinks including Python's exec(), runpy.run_path(), and subprocess.run(). An unauthenticated attacker can exploit this by injecting malicious instructions into content (such as web pages or documents) that the Agno agent processes, achieving arbitrary Python code execution and OS command execution on the host server. No authentication is required, and the attack is triggered through normal agent operation. Patches for this critical vulnerability should be available or forthcoming.

Affected products

  • Agno Agno up to and including 2.5.8

Timeline

  • 2026-08-27: disclosed: Published on NVD

References

Related threats