Skip to content
HighVulnerability

GHSA-gjgq-w2m6-wr5q: Langroid: handle_message() executes user-supplied tool JSON without sender verification

Published
Record updated
View JSON
Affected
  • langroid <= 0.65.2
Fixed in
0.65.3
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.