What’s Vulnerable › Vulnerabilities
CVE-2024-0798: Privilege Escalation in mintplex-labs/anything-llm
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-02-26 · updated 2026-06-17
- Weakness: CWE-272
Description
A privilege escalation vulnerability exists in mintplex-labs/anything-llm, allowing users with 'default' role to delete documents uploaded by 'admin'. Despite the intended restriction that prevents 'default' role users from deleting admin-uploaded documents, an attacker can exploit this vulnerability by sending a crafted DELETE request to the /api/system/remove-document endpoint. This vulnerability is due to improper access control checks, enabling unauthorized document deletion and potentially leading to loss of data integrity.
Affected products
- Mintplexlabs Anythingllm: all versions
References
- https://github.com/mintplex-labs/anything-llm/commit/d5cde8b7c27a47ab45b05b441db16751537f1733
- https://huntr.com/bounties/607f03a0-ab4d-4905-b253-3d28bbbd363c
- https://github.com/mintplex-labs/anything-llm/commit/d5cde8b7c27a47ab45b05b441db16751537f1733
- https://huntr.com/bounties/607f03a0-ab4d-4905-b253-3d28bbbd363c
Get alerted when CVE-2024-0798 or the next vulnerability affects your stack