Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-54769
Published:July 09, 2026
Updated:July 21, 2026
Langroid is a framework for building large-language-model-powered applications. Versions prior to 0.65.2 are vulnerable to a critical Sandbox Escape leading to Remote Code Execution (RCE) in its "TableChatAgent" and "VectorStore" capabilities. When these agents evaluate LLM-generated tool messages with "full_eval=True", they attempt to sandbox the execution by explicitly setting "locals" to an empty dictionary "{}" inside Python's "eval()" function. However, this relies on an incomplete understanding of Python's execution model. Because "__builtins__" is not explicitly scrubbed from the "globals" dictionary mapping, Python implicitly injects all built-ins during execution, granting full access to functions like "__import__('os').system()". Since "TableChatAgent.pandas_eval()" executes external LLM outputs natively, this bypass permits any attacker providing prompt payload to achieve unauthenticated RCE on the host system. Version 0.65.2 patches the issue.
Affected Packages
langroid (PYTHON):
Affected version(s) >=0.1.8 <0.65.2
Fix Suggestion:
Update to version 0.65.2
Do you need more information?
Contact Us
CVSS v4
Base Score:
10
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
CVSS v3
Base Score:
10
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Control of Generation of Code ('Code Injection')
EPSS
Base Score:
0.91