Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-54769— Langroid: Sandbox Escape to Remote Code Execution via Incomplete `eval()` Mitigation in TableChatAgent

Quick assessment

Affected
langroid langroid
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Langroid是Langroid组织开源的一个利用多代理编程开发LLM的工具。 Langroid 0.65.2之前版本存在代码注入漏洞,该漏洞源于沙箱逃逸问题,允许未经过身份验证的攻击者实现远程代码执行。

CVSS 10.0 · Critical EPSS 0.91% · P59

Affected Version Matrix 1

VendorProduct Version RangeStatus
langroid langroid < 0.65.2 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-54769

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Langroid: Sandbox Escape to Remote Code Execution via Incomplete `eval()` Mitigation in TableChatAgent
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Langroid 代码注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Langroid是Langroid组织开源的一个利用多代理编程开发LLM的工具。 Langroid 0.65.2之前版本存在代码注入漏洞,该漏洞源于沙箱逃逸问题,允许未经过身份验证的攻击者实现远程代码执行。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
langroid langroid < 0.65.2 -

II. Public POCs for CVE-2026-54769

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 8538 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-54769

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-54769 (1)

Same Patch Batch · langroid · 2026-07-09 · 6 CVEs total

CVE-2026-54771 8.1 HIGH Langroid: handle_message() executes user-supplied tool JSON without sender verification
CVE-2026-50181 7.1 HIGH Langroid: Path traversal in the file tools allows read/write outside configured current di
CVE-2026-55615 Langroid: Neo4jChatAgent executes LLM-generated Cypher without validation (prompt-to-Cyphe
CVE-2026-54760 Langroid: SQLChatAgent dangerous-function blocklist can be bypassed with quoted or schema-
CVE-2026-50180 Langroid: SQLChatAgent _validate_query blocklist misses pg_read_file family enabling arbit

IV. Related Vulnerabilities

V. Comments for CVE-2026-54769

No comments yet


Leave a comment