CVE-2025-46725
HIGH 8.1CVSS 4.0Langroid has a Code Injection vulnerability in LanceDocChatAgent through vector_store
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.
- Published
- 20 May 2025
- Last modified
- 7 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-94
- Also known as
- GHSA-22c2-9gwg-mj59PYSEC-2026-1531
- Sources
- NVDJSONOSV GHSA-22c2-9gwg-mj59JSONOSV PYSEC-2026-1531JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.1 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U | |
| OSV | PyPA | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | langroid | langroidcpe:2.3:a:langroid:langroid:*:*:*:*:*:*:*:* |
< 0.53.15 | 0.53.15 |
| OSV | PyPI | langroid | < 0.53.15 | 0.53.15 |
References
- https://github.com/langroid/langroid/commit/0d9e4a7bb3ae2eef8d38f2e970ff916599a2b2a6 · Patch, WEB
- https://github.com/langroid/langroid/security/advisories/GHSA-22c2-9gwg-mj59 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-46725 · ADVISORY
- https://github.com/langroid/langroid · PACKAGE
- https://pypi.org/project/langroid · PACKAGE
- https://github.com/advisories/GHSA-22c2-9gwg-mj59 · ADVISORY
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 20 May 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 May 2025)