Intel

AIKIDO-2026-780112

langroid is vulnerable to Improper Authorization

Improper AuthorizationGHSA-4fpx-72j9-gwg3 Published 4 days ago

81

High Risk

This Affects:

PYTHONlangroid
0.0.1 - 0.65.10
Fixed in 0.65.11
Are you affected? Scan for Free

TL;DR

RewindTool passes its untrusted content through create_llm_response, producing a new ChatDocument labeled as coming from the LLM with the taint flag cleared. The task loop then re-parses that trusted document, so embedded tool calls bypass the filter that blocks user-origin content from invoking handle-only tools. Untrusted chat content can thereby trigger handle-only tools such as file read and write, SQL execution, and internal orchestration. The fix threads the taint state through create_llm_response and the tool handler so laundered content remains blocked.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you enable RewindTool while also registering handle-only tools reachable through untrusted chat input.

Background info

langroid is vulnerable to Improper Authorization in versions 0.0.1 - 0.65.10.

How to fix this

Upgrade the langroid library to the patch version.