{"cve":"CVE-2025-46725","nvd":{"published":"2025-05-20T18:15:46.580","modified":"2026-06-17T09:26:52.910","status":"Analyzed","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.","cvss_v4":{"vector":"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","score":8.1},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-94"],"references":["https://github.com/langroid/langroid/commit/0d9e4a7bb3ae2eef8d38f2e970ff916599a2b2a6","https://github.com/langroid/langroid/security/advisories/GHSA-22c2-9gwg-mj59"],"products":["langroid:langroid"],"source":"nvd","synced_at":"2026-10-19T22:01:57.636215869+00:00"},"epss":{"cve":"CVE-2025-46725","score":0.00534,"percentile":0.4511,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-22c2-9gwg-mj59","url":"https://osv.dev/vulnerability/GHSA-22c2-9gwg-mj59","summary":"Langroid has a Code Injection vulnerability in LanceDocChatAgent through vector_store","modified":"2026-07-07T17:56:12.736797600Z","packages":[{"ecosystem":"PyPI","name":"langroid","purl":"pkg:pypi/langroid","ranges":["<0.53.15"],"fixed":["0.53.15"]}]},{"id":"PYSEC-2026-1531","url":"https://osv.dev/vulnerability/PYSEC-2026-1531","summary":"Langroid has a Code Injection vulnerability in LanceDocChatAgent through vector_store","modified":"2026-07-07T17:46:49.951274706Z","packages":[{"ecosystem":"PyPI","name":"langroid","purl":"pkg:pypi/langroid","ranges":["<0.53.15"],"fixed":["0.53.15"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}