Description
AnythingLLM is an application that turns pieces of content into context that any LLM can use as references during chatting. In 1.11.1 and earlier, The two generic system-preferences endpoints allow manager role access, while every other surface that touches the same settings is restricted to admin only. Because of this inconsistency, a manager can call the generic endpoints directly to read plaintext SQL database credentials and overwrite admin-only global settings such as the default system prompt and the Community Hub API key.
Problem types
CWE-863: Incorrect Authorization
Product status
References
github.com/...ng-llm/security/advisories/GHSA-wfq3-65gm-3g2p
github.com/...ommit/732eac6fa89f43288bbb65ecc6298ebcd96b7aeb