{"id":"CVE-2024-0798","aliases":["CVE-2024-0798"],"related":[],"kind":"vulnerability","state":"published","title":"Privilege Escalation in mintplex-labs/anything-llm","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Un usuario con un rol \"predeterminado\" que le haya asignado el administrador puede enviar solicitudes HTTP \"ELIMINAR\" a \"eliminar carpeta\" y \"eliminar documento\" para eliminar carpetas y archivos fuente de la instancia, incluso cuando su rol no debería permitir explícitamente esta acción en el sistema.","source":"nvd"}],"published":"2024-02-25T16:42:19.494Z","modified":"2026-06-17T06:54:19.130Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-272"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"1.0.0","status":"affected"}],"vendor":"mintplex-labs","product":"mintplex-labs/anything-llm","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"1.0.0","status":"affected"}],"vendor":"mintplexlabs","product":"anythingllm","cpe":"cpe:2.3:a:mintplexlabs:anythingllm:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[],"vendor":"mintplexlabs","product":"anythingllm","cpe":"cpe:2.3:a:mintplexlabs:anythingllm:-:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://huntr.com/bounties/607f03a0-ab4d-4905-b253-3d28bbbd363c","tags":["exploit","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/mintplex-labs/anything-llm/commit/d5cde8b7c27a47ab45b05b441db16751537f1733","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2024-08-27T20:41:29.411Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-0798","url":"https://www.cve.org/CVERecord?id=CVE-2024-0798","licence":"CVE Terms of Use","modified":"2024-08-27T20:43:58.659Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-0798","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-0798","licence":"Public domain","modified":"2026-06-17T06:54:19.130Z"}],"updatedAt":"2026-11-25T22:58:37.042Z","epss":{"score":0.00571,"percentile":0.48638,"date":"2026-12-02T12:00:21.000Z"}}