Skip to content
CriticalVulnerabilityLLM-specific

CVE-2026-37003: Agno RCE via prompt injection in PythonTools and ShellTools

Identifier
CVE-2026-37003
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.3%

Summary

Agno up to and including 2.5.8 contains CVE-2026-37003, a remote code execution flaw reached through prompt injection. The PythonTools and ShellTools components pass unsanitized, LLM-generated arguments directly to exec(), runpy.run_path() and subprocess.run(). An unauthenticated attacker can embed malicious instructions in content the agent processes, such as web pages or documents, and gain arbitrary code and OS command execution on the host server.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.