CriticalVulnerabilityLLM-specific
GHSA-q9p7-wqxg-mrhc: Langroid: Sandbox Escape to Remote Code Execution via Incomplete `eval()` Mitigation in TableChatAgent
- Identifiers
- CVE-2026-54769GHSA-q9p7-wqxg-mrhc
- Published
- Record updated
- Affected
- langroid <= 0.65.1
- Fixed in
- 0.65.2
- released June 9, 2026, 27 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.9%
Summary
Langroid's TableChatAgent and VectorStore evaluate LLM-generated tool messages with eval() when full_eval=True, passing an empty dictionary as locals. Because __builtins__ is not removed from the globals mapping, expressions such as __import__('os').system(...) execute, allowing a prompt-injected attacker to achieve unauthenticated remote code execution on the host. The flaw is located in /langroid/agent/special/table_chat_agent.py around line 239 and /langroid/vector_store/base.py around line 225.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- langroidPyPILLM dependency since 2023-07-14
Related items
- MediumCVE-2026-138033: mcp-video-analyzer server-side request forgery via video URL inputsSimilar attack · NVD/CVE Database
- HighCVE-2026-138028: Bagel (bagel-mcp) before 2.5.5 contains an argument injection vulnerability in RsyncFilesToLocalDirectory that allows…Similar attack · NVD/CVE Database
- Infov2026.11Similar attack · MITRE ATLAS Releases
- MediumSwitzerland Confirms AI-Assisted Cyberattacks Breached Critical Infrastructure OperatorsSimilar attack · The Hacker News
- MediumCVE-2026-137668: ONNX ONNXMLTools cross site scripting in visualize_model via producer_nameSimilar attack · NVD/CVE Database