A high-severity path traversal flaw tracked as CVE-2026-76832 was disclosed in Agno's PythonTools component, affecting libs/agno/agno/tools/python.py. The vulnerability stems from insufficient validation of the file_name argument in the read_file, save_to_file, and run_python_file actions, allowing attackers to use parent-directory traversal sequences such as ../../ to escape the intended base_dir boundary. Successful exploitation can lead to arbitrary file read, arbitrary file write, or arbitrary Python code execution with the privileges of the running process.
The issue can be triggered through direct tool invocation or indirectly through prompt injection in content processed by an agent, expanding the risk for deployments that expose these capabilities to untrusted input. A related Agno code change introduced stricter path handling, including a restrict_to_base_dir parameter, absolute-path resolution for base_dir, and path checks that reject requests outside the allowed directory, indicating the vulnerability was addressed by enforcing base-directory restrictions on file operations.

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
2 events from the most recent confirmed update back to the earliest known activity.
CVE-2026-76832 was published for a path traversal flaw in Agno's PythonTools affecting the read_file, save_to_file, and run_python_file actions via the file_name argument. The advisory says attackers can escape the intended base_dir boundary through direct invocation or prompt injection, leading to arbitrary file read, file write, or Python code execution.
A GitHub commit introduced a new restrict_to_base_dir parameter, resolved base_dir to an absolute path, and changed transcription file handling to validate paths with _check_path before use. The change blocks requests for files outside the allowed base directory, indicating a mitigation for path traversal or unauthorized file access.
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
4 references tracked. Mallory keeps watching after this page renders.
cvefeed.io
Open sourcegithub.com
Open sourcevulncheck.com
Open sourcegithub.com
Open sourceMap indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.