Documented Incident · INC-2025-46724 · Critical severity
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 dossier metadata
- Case ID
INC-2025-46724- Classification
- Incident
- Date
- Severity
- Critical
- Sector
- Software Development & AI Tooling
- Attack vector
- Tool/MCP Abuse
- System type
- Multi-Agent DataFrame & Table QA Frameworks
- CVE / reference
CVE-2025-46724- Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2025-46724
Defensive takeaway
Avoid passing LLM-generated expressions into pandas.eval() without sandboxed workers and strict grammar-constrained expression ASTs.
Mapped AI security techniques
- Command and Scripting Interpreter AML.T0050
- LLM Prompt Injection: Direct AML.T0051.000
- AI Agent Tool Invocation AML.T0053
- Generate Malicious Commands AML.T0102
Mapped defensive controls
- Restrict Library Loading AML.M0011
- Enforce Access Controls for AI Agent Tools AML.M0028
- Input and Output Validation for AI Agent Components AML.M0033
Source citation records
- NVD Record CVE-2025-46724: Langroid TableChatAgent Code Injection · NIST National Vulnerability Database (NVD) ·