Skip to content
CriticalVulnerabilityLLM-specific

CVE-2025-46725: Langroid LanceDocChatAgent code execution via pandas eval

Identifier
CVE-2025-46725
Published
Record updated
View JSON
Affected
  • langroid < 0.53.15
Fixed in
0.53.15
  • released May 17, 2025, 3 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.5%

Summary

Langroid, a Python framework for building LLM-powered applications, prior to version 0.53.15 uses pandas eval() through compute_from_docs() in LanceDocChatAgent. An attacker may be able to make the agent run malicious commands via QueryPlan.dataframe_calc, compromising the host system.

Mitigation

Fixed in 0.53.15: the affected function now sanitizes input by default against the most common attack vectors, and the project documentation adds warnings about the risky behavior.