Quick answers
- Is CVE-2025-46724 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2025-46724 being exploited in the wild.
- How severe is CVE-2025-46724?
- Critical severity, with a CVSS score of 9.8, published 20 May 2025.
- Which products and versions are affected?
- langroid (PyPI) < 0.53.15, ECOSYSTEM:introduced=0,fixed=0.53.15.
- Is there a fix for CVE-2025-46724?
- Yes. langroid (PyPI): upgrade to 0.53.15 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2025-46724 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2025-46724?
- Check whether you run langroid (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- langroid (PyPI): upgrade to 0.53.15 or later
pip install "langroid>=0.53.15"
Technical details
The TableChatAgent in Langroid uses the pandas eval() function to process data queries. Because this function is used on potentially untrusted input from a Large Language Model (LLM) or user prompt, it is susceptible to code injection (CWE-94). An attacker can craft a prompt that forces the agent to execute arbitrary Python code, such as system commands via 'os.system', to read files or gain shell access. The vulnerability is reachable over the network without authentication if the LLM application is public-facing. Version 0.53.15 introduces input sanitization to mitigate common attack vectors.
Affected products
- langroid langroid < 0.53.15
Identifiers
- CVE-2025-46724
- GHSA-jqq5-wc57-f8hj
- PYSEC-2026-381
Timeline
- 2025-05-20: disclosed
- 2025-05-20: advisory
- 2025-05-20: patched: Fixed in version 0.53.15