PT-2026-56063 · Langroid · Langroid

CVE-2026-54769

·

Published

2026-07-06

·

Updated

2026-07-13

CVSS v3.1

10

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Langroid versions prior to 0.65.2
Description A sandbox escape exists in the TableChatAgent and VectorStore capabilities that allows unauthenticated remote code execution (RCE) on the host system. The issue occurs when agents evaluate LLM-generated tool messages with full eval=True using Python's eval() function. While the framework attempts to sandbox execution by setting locals to an empty dictionary {}, it fails to scrub builtins from the globals dictionary mapping. Consequently, Python implicitly injects all built-ins, granting access to dangerous functions such as import ('os').system(). An attacker can exploit this by using prompt injection to force the TableChatAgent.pandas eval() function to execute a malicious payload.
Recommendations Update Langroid to version 0.65.2. As a temporary mitigation, avoid setting full eval=True when configuring TableChatAgentConfig until the update is applied.

Exploit

Fix

RCE

Code Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-54769
GHSA-Q9P7-WQXG-MRHC
PYSEC-2026-2581

Affected Products

Langroid