Description
AnythingLLM is an application that turns pieces of content into context that any LLM can use as references during chatting. Prior to version 1.12.1, GET /api/workspace/:slug/tts/:chatId in AnythingLLM returns the text-to-speech audio for another user's chat response within the same workspace because the route validates workspace membership but does not enforce ownership of the targeted chat row. As a result, an authenticated user can access another user's private assistant response in audio form if the chatId is known or guessed. This constitutes an insecure direct object reference (IDOR) affecting private chat response content exposed through the TTS endpoint. This issue has been patched in version 1.12.1.
Problem types
CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
CWE-639: Authorization Bypass Through User-Controlled Key
Product status
References
github.com/...ng-llm/security/advisories/GHSA-jwqg-jfg3-x5vv
github.com/...ommit/4f3f77119d342e5489d1ba7533ad6d51bdcd565f
github.com/Mintplex-Labs/anything-llm/releases/tag/v1.12.1