---
id: "CVE-2026-119050"
kind: "vulnerability"
aliases: ["CVE-2026-119050"]
title: "Agno: unsafe reflection in PandasTools lets prompt injection run code"
severity: "critical"
cvss: 9.2
epss: null
exploited: false
status: "open"
category: "ai-tooling"
products: []
ecosystems: []
tags: ["agno", "ai-agents", "ai-tooling", "pandas", "python"]
not_affected_if: ["no-pandastools", "no-untrusted-input"]
published_at: "2026-10-29T14:17:51+00:00"
first_seen_at: "2026-10-29T14:25:23+00:00"
updated_at: "2026-10-29T14:25:52+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-119050", "first_seen_at": "2026-10-29T14:25:23+00:00"}]
---

# Agno: unsafe reflection in PandasTools lets prompt injection run code

Agno, a Python framework for building AI agents, passes model-chosen function names into getattr() in its PandasTools, so an attacker can call any pandas function. Through prompt injection, an attacker can make the agent call pandas.read_pickle on a crafted file for code execution, or call other readers to read local files.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed Agno version with `pip show agno` and compare it to the fixed release.
- Look for the PandasTools toolkit in agent configurations (`grep -r PandasTools`).
- Confirm whether the agent processes untrusted input such as web pages, emails or uploaded documents.

## Fix

- Agno: unknown (sources do not state a fixed version; the affected range is through `3.1.11`).

## Timeline

- 2026-10-29T14:25:23+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-119050

## From the sources

Agno through 3.1.11 contains an unsafe reflection vulnerability in PandasTools that allows attackers to invoke arbitrary pandas functions by supplying model-controlled function names to getattr(). Attackers can use prompt injection to make the agent call pandas.read_pickle on attacker-controlled paths for code execution, or call other readers to read local files.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
