CVE-2025-46725
May 20, 2025
Langroid is a Python framework to build large language model (LLM)-powered applications. Prior to version 0.53.15, "LanceDocChatAgent" uses pandas eval() through "compute_from_docs()". As a result, an attacker may be able to make the agent run malicious commands through "QueryPlan.dataframe_calc]") compromising the host system. Langroid 0.53.15 sanitizes input to the affected function by default to tackle the most common attack vectors, and added several warnings about the risky behavior in the project documentation.
Affected Packages
https://github.com/langroid/langroid.git (GITHUB):
Affected version(s) >=0.1.8 <0.53.15Fix Suggestion:
Update to version 0.53.15langroid (PYTHON):
Affected version(s) >=0.1.8 <0.53.15Fix Suggestion:
Update to version 0.53.15Related ResourcesĀ (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
Exploit Maturity
UNREPORTED
CVSS v3
Base Score:
9.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Control of Generation of Code ('Code Injection')
EPSS
Base Score:
0.10