chat is vulnerable to Improper Authorization
63
Medium Risk
The chat/ai read tools produced by createChatTools let an AI agent call read operations across every conversation the bot can access. In the affected range those reads are effectively unscoped: versions 4.29.0-4.35.0 apply no read scoping at all, and 4.36.0 added channel-level scoping that still fails open when an agent runs outside a message handler with no resolvable scope and offers no thread-level confinement. Untrusted message content can steer such an agent into reading messages from channels or threads it is not handling, disclosing data from other conversations. The fix enforces per-conversation read scoping, rejects reads that resolve to a different channel, and adds a strict thread-confinement mode.
You are affected if you are using a version that falls within the vulnerable range and you expose the Chat SDK AI tools (createChatTools) to an agent that processes untrusted message content without an explicit read scope.
chat is vulnerable to Improper Authorization in versions 4.29.0 - 4.36.0.
Upgrade the chat library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant