# CVE-2024-0798: Privilege Escalation in mintplex-labs/anything-llm

- Severity: High 8.1 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.57%, higher than 48% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-02-25T16:42:19.494Z
- Modified: 2026-06-17T06:54:19.130Z
- Weaknesses: CWE-272
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: @huntr_ai

## 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.

(As written by CVE List.)

## Affected

- mintplex-labs mintplex-labs/anything-llm: from unspecified before 1.0.0
- mintplexlabs anythingllm: before 1.0.0

## Every score

- @huntr_ai: CVSS:3.0 8.1 High `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://huntr.com/bounties/607f03a0-ab4d-4905-b253-3d28bbbd363c> (exploit)
- <https://github.com/mintplex-labs/anything-llm/commit/d5cde8b7c27a47ab45b05b441db16751537f1733> (patch)

## Sources

- CVE List: [CVE-2024-0798](https://www.cve.org/CVERecord?id=CVE-2024-0798), CVE Terms of Use, modified 2024-08-27
- NVD: [CVE-2024-0798](https://nvd.nist.gov/vuln/detail/CVE-2024-0798), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-0798 · Whole record: https://cve.day/CVE-2024-0798.json · Rebuilt by cve.day 2026-11-25T22:58:37.042Z
