CVE-2024-3150
Privilege Escalation in mintplex-labs/anything-llm
- State
- Published
- Severity
- 8.1 High
- Published
- Jun 6, 2024
- Updated
- Jan 9, 2025
- Reserved
- Apr 1, 2024
Description
In mintplex-labs/anything-llm, a vulnerability exists in the thread update process that allows users with Default or Manager roles to escalate their privileges to Administrator. The issue arises from improper input validation when handling HTTP POST requests to the endpoint `/workspace/:slug/thread/:threadSlug/update`. Specifically, the application fails to validate or check user input before passing it to the `workspace_thread` Prisma model for execution. This oversight allows attackers to craft a Prisma relation query operation that manipulates the `users` model to change a user's role to admin. Successful exploitation grants attackers the highest level of user privileges, enabling them to see and perform all actions within the system.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.0 | 8.1 High | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N | @huntr_ai |
Weaknesses
- CWE-755 Improper Handling of Exceptional Conditions
Affected Products
| Product | Versions |
|---|---|
mintplex-labs/anything-llmmintplex-labs |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.