| Titel | Agno AGI Agno 2.7.3 CWE-94 Code Injection |
|---|
| Beschreibung | A code-injection vulnerability in agno's PythonTools lets anyone who can influence the code argument of run_python_code() -- directly, or remotely through an agent that processes untrusted content (prompt injection) -- execute arbitrary Python code in the host interpreter process. The safe_globals/safe_locals parameters that are meant to restrict the execution namespace default to the interpreter's full globals() (which contains __builtins__, exposing __import__ and every built-in) and locals(), and run_python_code() runs the supplied code with exec() with no AST filtering, no __builtins__ restriction, no sandbox, and no confirmation gate by default.
Affected: agno <= 3.0.6. Patched versions: None.
Reported to the vendor: https://github.com/agno-agi/agno/issues/10047. |
|---|
| Quelle | ⚠️ https://github.com/ybyu-ieu/agno-security-advisories/blob/main/advisories/agno-pythontools-run-python-code-arbitrary-code-execution.md |
|---|
| Benutzer | Ybyu (UID 101038) |
|---|
| Einreichung | 08.09.2026 10:11 (vor 2 Monaten) |
|---|
| Moderieren | 11.10.2026 12:41 (1 month later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 416593 [agno-agi agno bis 3.0.6 PythonTools python.py run_python_code erweiterte Rechte] |
|---|
| Punkte | 20 |
|---|