CVE-2024-0798

Source
https://cve.org/CVERecord?id=CVE-2024-0798
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-0798.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-0798
Downstream
Published
2024-02-25T16:42:19Z
Modified
2026-10-21T02:50:25Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
Privilege Escalation in mintplex-labs/anything-llm
Details

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.

Database specific
{
    "cna_assigner":  "@huntr_ai",
    "cwe_ids":  [
        "CWE-272"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/0xxx/CVE-2024-0798.json"
}
References

Affected packages

Git / github.com/mintplex-labs/anything-llm

Affected ranges

Type
GIT
Repo
https://github.com/mintplex-labs/anything-llm
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "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"