PT-2026-6292 · Langroid · Langroid
Pchalasan
·
Published
2025-05-20
·
Updated
2026-02-04
·
CVE-2026-25481
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Langroid versions prior to 0.59.32
Description
Langroid is a framework used for building applications powered by large-language-models. A weakness exists in the TableChatAgent component where the Web Application Firewall (WAF) can be bypassed. This bypass is due to a flaw in the
literal ok() function, which incorrectly returns False instead of raising an error when encountering invalid input. This, combined with unrestricted access to dangerous dunder attributes such as init, globals, and builtins, allows attackers to chain whitelisted DataFrame methods to access the eval builtin and ultimately execute arbitrary code. The issue allows for Remote Code Execution (RCE).Recommendations
Update to version 0.59.32 or later.
Review deployments for potential exposure.
Exploit
Fix
RCE
Code Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Langroid