Description
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.
References (2)
Core 2
Core References
Vendor Advisory x_refsource_confirm
https://github.com/langroid/langroid/security/advisories/GHSA-22c2-9gwg-mj59
Scores
CVSS v3
9.8
EPSS
0.0041
EPSS Percentile
61.4%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
total
Details
CWE
CWE-94
Status
published
Products (2)
langroid/langroid
< 0.53.15
pypi/langroid
0 - 0.53.15PyPI
Published
May 20, 2025
Tracked Since
Feb 18, 2026