Improper Control of Dynamically-Managed Code Resources Affecting agno package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.31% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-AGNO-20877467
  • published13 Oct 2026
  • disclosed12 Oct 2026
  • creditYbyu

Introduced: 12 Oct 2026

NewCVE-2026-108819  (opens in a new tab)
CWE-913  (opens in a new tab)

How to fix?

There is no fixed version for agno.

Overview

agno is an Agno: a lightweight library for building Multi-Agent Systems

Affected versions of this package are vulnerable to Improper Control of Dynamically-Managed Code Resources via run_python_code in PythonTools, which executes model-generated Python using exec() with full builtins, imports, filesystem, and network access. Despite their names, safe_globals and safe_locals impose no security boundary - they merely seed the execution namespace and do not restrict what the executed code can import or access. Similarly, restrict_to_base_dir constrains only file-path arguments to the file helpers and does nothing to prevent executed code from reading arbitrary files such as /etc/passwd, dumping os.environ, or making network connections. An attacker who can influence the model's input (for example via prompt injection) can achieve arbitrary code execution in the host process.

CVSS Base Scores

version 4.0
version 3.1