Privilege Escalation in mintplex-labs/anything-llm
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-0798
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 13:56 UTC · Revision 1
Source evidence
Privilege Escalation in mintplex-labs/anything-llm
core-osv · Original sourcePublished 25 Feb 2024, 16:42 UTC
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.
osv:CVE-2024-0798
Complete source record
{
"id": "52b2097d3caacfb6359d8ada135c8ab0eaea002900755890c0c1b3a669837042",
"url": "https://osv.dev/vulnerability/CVE-2024-0798",
"method": "structured",
"payload": {
"kind": "advisory",
"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.",
"evidence": "osv:CVE-2024-0798",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-0798",
"aliases": [
"CVE-2024-0798"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mintplex-labs/anything-llm",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "013c0b9575ae6a87af87275e326041c4e0afeeee"
},
{
"fixed": "d5cde8b7c27a47ab45b05b441db16751537f1733"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "1.0.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "SplitRange"
},
{
"range": [
{
"fixed": "d5cde8b7c27a47ab45b05b441db16751537f1733"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-0798.json"
}
}
],
"modified": "2026-10-28T02:30:29.337064860Z",
"provider": "osv",
"references": [
"https://huntr.com/bounties/607f03a0-ab4d-4905-b253-3d28bbbd363c",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/0xxx/CVE-2024-0798.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-0798",
"https://github.com/mintplex-labs/anything-llm/commit/d5cde8b7c27a47ab45b05b441db16751537f1733"
],
"provider_metadata": {
"cwe_ids": [
"CWE-272"
],
"cna_assigner": "@huntr_ai",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/0xxx/CVE-2024-0798.json"
}
},
"related_cves": [
{
"value": "CVE-2024-0798",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 496141,
"published_at": "2024-02-25T16:42:19.494+00:00"
}