# CVE-2025-46724: Langroid has a Code Injection vulnerability in TableChatAgent

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.84%, higher than 59% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-05-20T17:22:13.475Z
- Modified: 2026-07-01T23:00:12.917Z
- Also known as: GHSA-jqq5-wc57-f8hj, PYSEC-2026-381
- Related: CVE-2026-25481
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

Langroid is a Python framework to build large language model (LLM)-powered applications. Prior to version 0.53.15, `TableChatAgent` uses `pandas eval()`. If fed by untrusted user input, like the case of a public-facing LLM application, it may be vulnerable to code injection. Langroid 0.53.15 sanitizes input to `TableChatAgent` by default to tackle the most common attack vectors, and added several warnings about the risky behavior in the project documentation.

(As written by CVE List.)

## Affected

- langroid langroid: < 0.53.15; before 0.53.15
- langroid (PyPI): before 0.53.15

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/langroid/langroid/security/advisories/GHSA-jqq5-wc57-f8hj> (exploit, vendor-advisory, web)
- <https://github.com/langroid/langroid/commit/0d9e4a7bb3ae2eef8d38f2e970ff916599a2b2a6> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-46724> (advisory)
- <https://github.com/langroid/langroid> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/langroid/PYSEC-2026-381.yaml> (web)
- <https://pypi.org/project/langroid> (package, web)
- <https://github.com/advisories/GHSA-jqq5-wc57-f8hj> (advisory)

## Sources

- CVE List: [CVE-2025-46724](https://www.cve.org/CVERecord?id=CVE-2025-46724), CVE Terms of Use, modified 2025-05-20
- GitHub Advisory Database: [GHSA-jqq5-wc57-f8hj](https://github.com/advisories/GHSA-jqq5-wc57-f8hj), CC-BY-4.0, modified 2026-07-01
- NVD: [CVE-2025-46724](https://nvd.nist.gov/vuln/detail/CVE-2025-46724), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-381](https://osv.dev/vulnerability/PYSEC-2026-381), CC-BY-4.0, modified 2026-07-01

---

Page: https://cve.day/CVE-2025-46724 · Whole record: https://cve.day/CVE-2025-46724.json · Rebuilt by cve.day 2026-11-25T22:58:58.325Z
