Path Traversal in Agno Agi
CVE-2026-76832
- CVSS v3
- 8.8 High
- Public exploits
- None known
- EPSS
- 0.013 · 70.3th percentile
- Published
- 2026-08-19
Agno's PythonTools in libs/agno/agno/tools/python.py contains a path traversal vulnerability that allows attackers to read, write, or execute arbitrary files by supplying parent-directory traversal sequences in the file_name argument passed to read_file, save_to_file, or run_python_file tool actions. Attackers can inject traversal sequences such as '../../../../../../etc/passwd' through direct tool invocation or via prompt injection embedded in agent-processed content to escape the intended base_dir boundary and achieve arbitrary file read, arbitrary file write, or arbitrary Python code execution within the process user's authority.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.013, 70.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- GitHub Repository (product)
- Patch Commit (patch)
- www.vulncheck.com/advisories/agno-pythontools-path-traversal-via-joinpath-file-… (third-party-advisory)