CVE-2026-108816: agno PythonTools code injection in run_python_code

CVE-2026-108816 · Severity: medium · CVSS 6.3 · Published 2026-10-12

agno is a framework for building and managing AI agent platforms. The PythonTools component contains a code injection vulnerability in the run_python_code function that allows unauthenticated remote attackers to execute arbitrary Python code by manipulating the code argument. An attacker can gain complete control over the agent platform and access sensitive data or operations.

Technologies: Agno-Agi Agno. Vendors: Agno-Agi.

Quick answers

Is CVE-2026-108816 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-108816 being exploited in the wild.
How severe is CVE-2026-108816?
Medium severity, with a CVSS score of 6.3, published 12 October 2026.
Which products and versions are affected?
Agno-Agi Agno up to 3.0.6.
Is there a fix for CVE-2026-108816?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-108816 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-108816?
Check whether you run Agno-Agi Agno at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The run_python_code function in PythonTools (python.py) fails to properly validate or sandbox the code argument, allowing arbitrary Python code injection via an unrestricted globals() default namespace (CWE-94). The vulnerability is remotely exploitable without authentication, and an attacker can leverage the execution context to access sensitive functions and data within the agent platform.

Affected products

  • agno-agi agno up to 3.0.6

Timeline

  • 2026-10-12: disclosed
  • 2026-10-12: advisory

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.