CVE-2026-76832 Agno PythonTools Path Traversal via joinpath file_name argument
Attackers can exploit path traversal in Agno's PythonTools to read, write, or execute arbitrary files via prompt injection or direct tool invocation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-76832?
CVE-2026-76832 is a high-severity path traversal vulnerability in Agno, published on 19 Aug 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-22
Which versions are affected by CVE-2026-76832?
How do I fix CVE-2026-76832?
No fix has been published for CVE-2026-76832 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-76832 being exploited?
There is no known exploitation of CVE-2026-76832 in the wild and no public exploit code.
Sources
Also known as GHSA-fpc4-x22x-vhwx.