What’s Vulnerable › Vulnerabilities
CVE-2026-76832: Agno PythonTools Path Traversal via joinpath file_name argument
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-19 · updated 2026-10-27
- Weakness: CWE-22
Description
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.
Affected products
- Agno AGI Agno: through 710d7e7
References
- https://github.com/agno-agi/agno
- https://github.com/agno-agi/agno/commit/710d7e7f846f93b7a3eadfd3e77075428c39e803
- https://www.vulncheck.com/advisories/agno-pythontools-path-traversal-via-joinpath-file-name-argument
Get alerted when CVE-2026-76832 or the next vulnerability affects your stack