Command Injection Vulnerability in Langroid Framework by Langroid
CVE-2025-46725
8.1HIGH
What is CVE-2025-46725?
The Langroid Framework, utilized for developing applications powered by large language models, had a serious command injection vulnerability prior to version 0.53.15. In affected versions, the LanceDocChatAgent
component improperly utilized the pandas eval()
function within compute_from_docs()
, potentially allowing an attacker to execute arbitrary commands on the host system. Version 0.53.15 mitigates this risk by implementing input sanitization for this function by default and includes clear warnings regarding the associated risks in its documentation.
Affected Version(s)
langroid < 0.53.15