CVE-2026-76832 PUBLISHED

Agno PythonTools Path Traversal via joinpath file_name argument

Assigner: VulnCheck
Reserved: 19.08.2026 Published: 19.08.2026 Updated: 19.08.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 8.5

Product Status

Vendor Agno AGI
Product Agno
Versions Default: affected
  • affected from 0 to 710d7e7 (incl.)

Credits

  • Ali Raza (GitHub Username: locus-x64) finder

References

Problem Types

  • Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') CWE