| Component | AnythingLLM |
| Severity | high (CVSS 7.2) |
| CVSS vector | CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| Published (NVD) | 2024-04-10 |
| Last modified | 2026-06-17 |
| Affected versions | < 1.0.0 from the CVE Program record written by the CNA that assigned the CVE |
| Fixed in | 1.0.0 |
| Weakness | CWE-915 |
| CISA KEV | not listed |
NVD description
A vulnerability in mintplex-labs/anything-llm allows users with manager roles to escalate their privileges to admin roles through a mass assignment issue. The '/admin/system-preferences' API endpoint improperly authorizes manager-level users to modify the 'multi_user_mode' system variable, enabling them to access the '/api/system/enable-multi-user' endpoint and create a new admin user. This issue results from the endpoint accepting a full JSON object in the request body without proper validation of modifiable fields, leading to unauthorized modification of system settings and subsequent privilege escalation.
What to do
- Upgrade AnythingLLM to
1.0.0or later. - Do not expose the component's API or UI to the internet without authentication in front of it.