Incident report

Langroid TableChatAgent Arbitrary Code Injection via Pandas Eval

CVE-2025-46724 (CVSS 9.8) disclosed a critical code injection vulnerability in the `langroid` multi-agent Python framework (`< 0.53.15`) affecting its `TableChatAgent`. When handling tabular analysis tasks, the agent passed untrusted or model-generated expressions directly into `pandas.eval()` without sanitizing callable references. An adversary interacting with a TableChatAgent workflow could force execution of arbitrary Python expressions on the host environment. Maintainers released v0.53.15 replacing unsafe expression evaluation with constrained parsing.

Incident record

Reported
Severity
Critical
Vector
Tool/MCP Abuse
Affected system type
Multi-Agent DataFrame & Table QA Frameworks
Reference
CVE-2025-46724
Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2025-46724

Inspect in Interactive Incidents Hub

Defensive lesson

Avoid passing LLM-generated expressions into pandas.eval() without sandboxed workers and strict grammar-constrained expression ASTs.

Referenced techniques