CVE Catalog

CVE-2026-76832

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.84%

55th percentile - higher than 55% of all known CVEs

Summary

PythonTools in Agno (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 to read_file, save_to_file, or run_python_file actions. The attack can be performed via direct tool invocation or via prompt injection in agent-processed content.

Risk Assessment

An attacker can access sensitive files, modify them, or execute arbitrary Python code within the process user's authority, potentially leading to confidentiality, integrity, and availability compromise.

Recommendation

Update Agno to a patched version and restrict access to PythonTools to trusted users.

Other vulnerabilities in Agno

See all
Original NVD description (English source)

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 data from NVD (NIST) · CISA KEV · EPSS