Code Injection Vulnerability in Langroid Python Framework Affecting Multiple Applications
CVE-2025-46724
9.8CRITICAL
What is CVE-2025-46724?
The Langroid Python framework, widely used for building applications powered by large language models (LLMs), has a code injection vulnerability linked to its TableChatAgent
component. In versions prior to 0.53.15, it employs the pandas eval()
method which, when exposed to untrusted user input, especially in publicly accessible LLM applications, could allow attackers to execute arbitrary code. To mitigate this risk, version 0.53.15 introduced automatic input sanitization for TableChatAgent
, addressing common attack vectors and enhancing project documentation with warnings about potential risks.
Affected Version(s)
langroid < 0.53.15