HighVulnerability
GHSA-gjgq-w2m6-wr5q: Langroid: handle_message() executes user-supplied tool JSON without sender verification
- Identifiers
- CVE-2026-54771GHSA-gjgq-w2m6-wr5q
- Published
- Record updated
- Affected
- langroid <= 0.65.2
- Fixed in
- 0.65.3
- 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.4%
Summary
A Langroid application that exposes a chat interface to untrusted users can have registered tools invoked directly from raw JSON chat input, even when a tool is registered with use=False, handle=True. The tool dispatch path in agent_response() → handle_message() → get_tool_messages() does not check whether the message came from Entity.USER or Entity.LLM. Depending on which handled tools are enabled, impact can include file read/write, database query execution, or access to internal orchestration tools.
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
- 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
- MediumCVE-2026-137667: ONNX ONNXMLTools cross site scripting in Model VisualizationSimilar attack · NVD/CVE Database
- InfoEvaluating transformer based language model robustness under low rate training data poisoningSimilar attack · OpenAlex (peer-reviewed AI security)