langroid is vulnerable to Improper Authorization
81
CVE Score
High
Improper Authorization
RecipientTool and AddRecipientTool re-emit their untrusted content as a new ChatDocument labeled as coming from the LLM, which clears the taint flag that marks user-origin messages. Because the re-emitted document is treated as trusted, embedded tool calls survive the filter that normally blocks untrusted input from invoking handle-only tools. This lets untrusted chat content trigger tools such as file read and write, SQL execution, and internal orchestration that were never meant to be reachable from user input. The fix propagates the originating message taint into the re-emitted document so laundered content stays blocked.
Upgrade the langroid library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you enable RecipientTool or AddRecipientTool routing while also registering handle-only tools reachable through untrusted chat input.
0.0.1 - 0.65.10
Fixed in 0.65.11langroid is vulnerable to Improper Authorization in versions 0.0.1 - 0.65.10.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.