letta icon indicating copy to clipboard operation
letta copied to clipboard

Security issue when create agent is called from different user simultaneously

Open Sapessii opened this issue 4 months ago • 0 comments

Describe the bug

Hi, when the create agent endpoint is called simultaneously from different users, the user_id is always stick with the first user, hence resulting in multiple users that can access to the chat of others.

I think it's related with the middleware setting the set_current_user function is called.

Sapessii avatar Oct 03 '24 15:10 Sapessii