Cyber Resilience

CVE-2024-0798

Mintplexlabs Anythingllm

Public PoC
Published
26 February 2024
Modified
27 February 2025
Patch / advisory
CVSS Score v3.1 6.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS Score 0.0057 44th percentile
Risk Priority 51 floored blend · peak EPSS

Summary

CVE-2024-0798 is a medium-severity Least Privilege Violation (CWE-272) vulnerability in Mintplexlabs Anythingllm. Its CVSS base score is 6.5 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked at the 44th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

This vulnerability is AI-related — categorised as LLM Application Platforms; in the Data-Related Vulnerabilities risk domain.

The strongest mitigations our analysis identified map to AC-6 (Least Privilege) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

AI Security AnalysisAI

AI Category
LLM Application Platforms
Risk Domain
Data-Related Vulnerabilities
OWASP Top 10 for LLMs 2025
None mapped
Classification Reason
mintplex-labs/anything-llm is an open-source platform for document-based LLM interactions, functioning as an enterprise AI assistant with features like document upload and management for RAG-style inference.

Related Threats

MITRE ATT&CK Enterprise Techniques

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1548 Abuse Elevation Control Mechanism Privilege Escalation
Adversaries may circumvent mechanisms designed to control privilege elevation to gain higher-level permissions.
T1574.005 Executable Installer File Permissions Weakness Stealth
Adversaries may execute their own malicious payloads by hijacking the binaries used by an installer.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-0404Same product: Mintplexlabs Anythingllm
CVE-2024-3033Same product: Mintplexlabs Anythingllm
CVE-2026-32717Same product: Mintplexlabs Anythingllm
CVE-2024-10109Same product: Mintplexlabs Anythingllm
CVE-2026-32715Same product: Mintplexlabs Anythingllm
CVE-2024-2913Same product: Mintplexlabs Anythingllm
CVE-2026-47713Same product: Mintplexlabs Anythingllm
CVE-2024-3029Same product: Mintplexlabs Anythingllm
CVE-2024-3101Same product: Mintplexlabs Anythingllm
CVE-2024-4287Same product: Mintplexlabs Anythingllm

Affected Assets

mintplexlabs
anythingllm
all versions

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 4 hardening rules · 4 OS baselines
Validate
Prove the fix (OWASP ASVS)

Mitigating Controls (NIST 800-53 r5) AI

AC-6 directly requires employing least privilege so that elevated rights are granted only when needed and revoked immediately afterward.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.AA-05 mostly match
prevents

Directly enforces least-privilege policy and ongoing review that prevents failure to drop elevated rights after privileged operations.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

mitigates

Restricts and monitors privileged utility programs, directly addressing the need to drop elevated rights immediately after use.

mitigates

Privileged access rights explicitly require least-privilege assignment and timely revocation after elevated operations.

prevents

Secure coding practices can prevent least-privilege violations but do not constitute the control itself.

mitigates

Information access restriction supports least privilege but does not specifically mandate dropping rights after privileged operations.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over `controls_xwalks` (authoritative rows only; rows rated `none` are excluded).

Ubuntu 24.04 (1 rule)
  • V-270689 Ubuntu 24.04 LTS must prevent all software from executing at higher privilege levels than users executing the software and the audit system must be configured to audit the execution of privileged functions. prevents CWE-272
Windows 10 (1 rule)
  • V-220712 Only accounts responsible for the administration of a system must have Administrator rights on the system. prevents CWE-272
Windows Server 2022 (1 rule)
  • V-254428 Windows Server 2022 must only allow administrators responsible for the member server or standalone or nondomain-joined system to have Administrator rights on the system. prevents CWE-272

References