{"cve":"CVE-2026-25481","nvd":{"published":"2026-02-04T20:16:07.447","modified":"2026-06-17T10:24:42.560","status":"Analyzed","description":"Langroid is a framework for building large-language-model-powered applications. Prior to version 0.59.32, there is a bypass to the fix for CVE-2025-46724. TableChatAgent can call pandas_eval tool to evaluate the expression. There is a WAF in langroid/utils/pandas_utils.py introduced to block code injection CVE-2025-46724. However it can be bypassed due to _literal_ok() returning False instead of raising UnsafeCommandError on invalid input, combined with unrestricted access to dangerous dunder attributes (__init__, __globals__, __builtins__). This allows chaining whitelisted DataFrame methods to leak the eval builtin and execute arbitrary code. This issue has been patched in version 0.59.32.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","score":9.4},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":9.6},"cwes":["CWE-94"],"references":["https://github.com/langroid/langroid/commit/30abbc1a854dee22fbd2f8b2f575dfdabdb603ea","https://github.com/langroid/langroid/security/advisories/GHSA-jqq5-wc57-f8hj","https://github.com/langroid/langroid/security/advisories/GHSA-x34r-63hx-w57f"],"products":["langroid:langroid"],"source":"nvd","synced_at":"2026-10-19T22:22:27.261130201+00:00"},"epss":{"cve":"CVE-2026-25481","score":0.00733,"percentile":0.54395,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-x34r-63hx-w57f","url":"https://osv.dev/vulnerability/GHSA-x34r-63hx-w57f","summary":"Langroid has WAF Bypass Leading to RCE in TableChatAgent","modified":"2026-07-01T23:00:12.905083494Z","packages":[{"ecosystem":"PyPI","name":"langroid","purl":"pkg:pypi/langroid","ranges":["<0.59.32"],"fixed":["0.59.32"]}]},{"id":"PYSEC-2026-383","url":"https://osv.dev/vulnerability/PYSEC-2026-383","summary":"Langroid has WAF Bypass Leading to RCE in TableChatAgent","modified":"2026-07-13T16:15:27.345256041Z","packages":[{"ecosystem":"PyPI","name":"langroid","purl":"pkg:pypi/langroid","ranges":["<0.59.32"],"fixed":["0.59.32"]}]}],"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."]}