CVE-2026-37003
Received Received - Intake

Remote Code Execution in Agno up to 2.5.8 via Prompt Injection

Vulnerability report for CVE-2026-37003, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-27

Last updated on: 2026-08-27

Assigner: MITRE

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-27
Last Modified
2026-08-27
Generated
2026-08-28
AI Q&A
2026-08-27
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
agno agno to 2.5.8 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

Agno versions up to 2.5.8 are vulnerable to Remote Code Execution (RCE) through prompt injection. The PythonTools and ShellTools components execute unsanitized, LLM-generated arguments directly via functions like exec(), runpy.run_path(), and subprocess.run(). Attackers can embed malicious instructions in content processed by the agent, such as web pages or documents, to execute arbitrary code and OS commands on the server.

Impact Analysis

This vulnerability allows unauthenticated attackers to execute arbitrary code and OS commands on the host server. This could lead to full system compromise, data theft, unauthorized access, or disruption of services. Systems using Agno for processing untrusted content are at high risk.

Compliance Impact

This RCE vulnerability could lead to unauthorized access or data breaches, violating GDPR and HIPAA requirements for data protection and access control. Organizations may face legal penalties, reputational damage, and loss of compliance certifications if exploited.

Mitigation Strategies

Immediately upgrade Agno to a version beyond 2.5.8 to remove the vulnerable components. Disable or restrict access to the PythonTools and ShellTools components if they are not essential. Review and sanitize all inputs processed by the agent to prevent prompt injection attacks.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-37003. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart