Skip to main content

Agno PythonTools CVE-2026-76832

| EUVDEUVD-2026-63135 HIGH
Path Traversal (CWE-22)
2026-08-19 disclosure@vulncheck.com GHSA-fpc4-x22x-vhwx
8.5
CVSS 4.0 · Vendor: vulncheck
Share

Severity by source

Vendor (vulncheck) PRIMARY
8.5 HIGH
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
9.6 CRITICAL

Prompt injection via internet-sourced content enables network delivery (AV:N); agent pipeline interaction required (UI:R); traversal escapes intended base_dir sandbox constituting scope change (S:C); full triad impact via read, write, and code execution.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector
Adjacent
Attack Complexity
Low
Privileges Required
None
User Interaction
A
Scope
X

Lifecycle Timeline

3
Source Code Evidence Fetched
Aug 19, 2026 - 22:37 vuln.today
Analysis Generated
Aug 19, 2026 - 22:37 vuln.today
CVE Published
Aug 19, 2026 - 22:17 cve.org
HIGH 8.5

DescriptionCVE.org

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.

AnalysisAI

Arbitrary file read, write, and Python code execution in Agno's PythonTools (agno.tools.python) exposes any file accessible to the agent process via path traversal sequences injected into the file_name argument of read_file, save_to_file, or run_python_file. The root cause is use of Path.joinpath() without resolving or validating the resulting path against the intended base_dir boundary, enabling escape via sequences such as '../../../../../../etc/passwd'. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Access
Attacker crafts traversal sequence in untrusted content
Delivery
Content ingested by agno agent pipeline
Exploit
Agent invokes PythonTools tool action with traversal file_name
Execution
Path.joinpath() constructs out-of-bounds path without validation
Persist
base_dir boundary bypassed
Impact
Arbitrary file read, write, or Python execution achieved as process user

Vulnerability AssessmentAI

Exploitation Exploitation requires an agno agent deployment with PythonTools instantiated and reachable by the attacker either via direct API/tool invocation or via content the agent processes (prompt injection vector). … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment The CVSS 4.0 score of 8.5 with AV:A and UI:A indicates network-adjacent delivery requiring active interaction, which understates real-world risk in agentic deployments: prompt injection via externally sourced content (web pages, documents, API responses) that the agent processes constitutes a network-delivered attack requiring only that the agent pipeline be exposed to untrusted input, pushing the practical attack vector closer to AV:N. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario An attacker embeds a prompt injection payload in a webpage or document processed by an agno agent - for example, invisible text instructing the agent to call read_file with file_name='../../../../../../etc/shadow' and relay the output. The agent, lacking independent validation of tool arguments, invokes PythonTools.read_file() with the traversal sequence, bypasses the base_dir boundary, and returns the contents of the sensitive file to the attacker-controlled conversation. …
Remediation The upstream fix is available in commit 710d7e7f846f93b7a3eadfd3e77075428c39e803 (https://github.com/agno-agi/agno/commit/710d7e7f846f93b7a3eadfd3e77075428c39e803); operators should upgrade to the first PyPI release of agno that incorporates this commit - exact version not independently confirmed, so verify at the VulnCheck advisory (https://www.vulncheck.com/advisories/agno-pythontools-path-traversal-via-joinpath-file-name-argument) or the agno release history. … Detailed patch versions, workarounds, and compensating controls in full report.

Recommended ActionAI

Within 24 hours, inventory all Agno deployments with PythonTools; immediately disable the vulnerable functions (read_file, save_to_file, run_python_file) in production agents unless critical to operations, or apply strict input validation rejecting path traversal sequences including '..' and absolute paths. …

Sign in for detailed remediation steps and compensating controls.

Threat intelligence, references, and detailed analysis are available after sign-in.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

CVE-2026-55255 HIGH POC
8.4 Jun 19

Cross-user flow execution in Langflow (< 1.9.1) lets any authenticated API-key holder run another user's flow by passing

Share

CVE-2026-76832 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy