CVE-2026-37003: Agno vulnerability

Published Aug 27, 2026
·
Updated

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.runpath(), 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 Software

1 affected component
Agno<=2.5.8

Event History

Aug 27, 2026
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·08:17 PM
Description

Frequently Asked Questions

1

Who is exposed to this vulnerability?

Agno deployments using affected versions up to and including 2.5.8 are exposed when an agent processes attacker-controlled content, such as web pages or documents, through PythonTools or ShellTools. The attack can be performed without authentication.

2

What does an attacker need to exploit it?

The attacker needs to embed malicious instructions in content that the agent will process. The vulnerable components can pass LLM-generated arguments without sanitization to code or command execution functions.

3

What is the impact of successful exploitation?

Successful exploitation can allow arbitrary Python code execution and operating-system command execution on the host server.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203