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.
Published: 2026-08-27
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 02 Sep 2026 08:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 02 Sep 2026 07:15:00 +0000

Type Values Removed Values Added
Title Remote Code Execution via Unsanitized Prompt Injection in Agno 2.5.8
Weaknesses CWE-78

Tue, 01 Sep 2026 22:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Fri, 28 Aug 2026 10:00:00 +0000

Type Values Removed Values Added
First Time appeared Agno
Agno agno
Vendors & Products Agno
Agno agno

Fri, 28 Aug 2026 06:30:00 +0000

Type Values Removed Values Added
Title Remote Code Execution via Unsanitized Prompt Injection in Agno 2.5.8
Weaknesses CWE-78
CWE-94

Thu, 27 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
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.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-09-01T19:34:17.910Z

Reserved: 2026-04-06T00:00:00.000Z

Link: CVE-2026-37003

cve-icon Vulnrichment

Updated: 2026-09-01T19:34:12.875Z

cve-icon NVD

Status : Received

Published: 2026-08-27T20:17:41.107

Modified: 2026-09-01T20:17:13.767

Link: CVE-2026-37003

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-02T07:00:13Z

Weaknesses