Langroid has a Code Injection vulnerability in LanceDocChatAgent through vector_store
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| langroid | langroid | before 0.53.15 | 0.53.15 | Patch available | CNA |
| — | langroid (PyPI) | before 0.53.15 | 0.53.15 | Patch available | GHSA-22c2-9gwg-mj59 |
- langroid Vendorlangroid Affected before 0.53.15 Fixed in 0.53.15 Patch available CNA
- langroid (PyPI) Vendor— Affected before 0.53.15 Fixed in 0.53.15 Patch available GHSA-22c2-9gwg-mj59
Remediation
- Fix · CNA langroid (langroid) Fixed in 0.53.15
- Fix · GHSA-22c2-9gwg-mj59 langroid (PyPI) Fixed in 0.53.15 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-46725
- 2026-10-03 Alias added: GHSA-22c2-9gwg-mj59
References
More Langroid vulnerabilities
- TI-2026-20592 Langroid has WAF Bypass Leading to RCE in TableChatAgent CVSS 4.0CRITICAL 9.4
- TI-2025-29395 Langroid has a Code Injection vulnerability in TableChatAgent CVSS 3.1CRITICAL 9.8
- TI-2025-29397 Langroid Vulnerable to XXE Injection via XMLToolMessage CVSS 4.0HIGH 7.8
Sources
- CVE-2025-46725 · CVE Program
- CVE-2025-46725 · NVD
- FIRST EPSS
- GHSA-22c2-9gwg-mj59 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences