PT-2025-22277 · Langroid · Langroid
Sch227
·
Published
2025-05-20
·
Updated
2025-08-13
·
CVE-2025-46725
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Langroid versions prior to 0.53.15
Description
The issue concerns the use of pandas eval() through the
compute from docs() function in the LanceDocChatAgent component. This allows an attacker to potentially run malicious commands, compromising the host system. The QueryPlan.dataframe calc is also implicated in this issue.Recommendations
For versions prior to 0.53.15, consider disabling the
LanceDocChatAgent component or restricting its use until the issue is resolved. As a temporary workaround, avoid using the compute from docs() function and the QueryPlan.dataframe calc to minimize the risk of exploitation. Update to version 0.53.15 or later, which sanitizes input to the affected function by default and includes warnings about risky behavior in the project documentation.Exploit
Fix
Code Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Langroid