GHSA-q9p7-wqxg-mrhc: Langroid: Sandbox Escape to Remote Code Execution via Incomplete `eval()` Mitigation in TableChatAgent
Summary
Langroid's TableChatAgent and VectorStore have a critical vulnerability where they use Python's `eval()` function to execute code generated by the AI, but fail to properly sandbox it. Even though they pass an empty dictionary for local variables, Python automatically includes built-in functions like `__import__()` in the execution environment, allowing an attacker to run arbitrary commands on the host system through prompt injection (tricking the AI into generating malicious code).
Vulnerability Details
EPSS: 0.0%
Yes
July 6, 2026
Classification
Taxonomy References
Affected Vendors
Affected Packages
Related Issues
CVE-2026-34371: LibreChat is a ChatGPT clone with additional features. Prior to 0.8.4, LibreChat trusts the name field returned by the e
CVE-2024-27444: langchain_experimental (aka LangChain Experimental) in LangChain before 0.1.8 allows an attacker to bypass the CVE-2023-
Original source: https://github.com/advisories/GHSA-q9p7-wqxg-mrhc
First tracked: July 6, 2026 at 08:00 PM
Classified by LLM (prompt v3) · confidence: 95%