| Título | Agno AGI Agno 2.7.3 CWE-94 Code Injection |
|---|
| Descripción | 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. |
|---|
| Fuente | ⚠️ https://github.com/ybyu-ieu/agno-security-advisories/blob/main/advisories/agno-pythontools-run-python-code-arbitrary-code-execution.md |
|---|
| Usuario | Ybyu (UID 101038) |
|---|
| Sumisión | 2026-09-08 10:11 (hace 2 meses) |
|---|
| Moderación | 2026-10-11 12:41 (1 month later) |
|---|
| Estado | Aceptado |
|---|
| Entrada de VulDB | 416593 [agno-agi agno hasta 3.0.6 PythonTools python.py run_python_code escalada de privilegios] |
|---|
| Puntos | 20 |
|---|