CVE-2024-5211

CVE-2024-5211 is a high-severity vulnerability in Mintplexlabs Anythingllm with a CVSS 3.x base score of 7.2. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-29.

Key facts

Description

A path traversal vulnerability in mintplex-labs/anything-llm allowed a manager to bypass the `normalizePath()` function, intended to defend against path traversal attacks. This vulnerability enables the manager to read, delete, or overwrite the 'anythingllm.db' database file and other files stored in the 'storage' directory, such as internal communication keys and .env secrets. Exploitation of this vulnerability could lead to application compromise, denial of service (DoS) attacks, and unauthorized admin account takeover. The issue stems from improper validation of user-supplied input in the process of setting a custom logo for the app, which can be manipulated to achieve arbitrary file read, deletion, or overwrite, and to execute a DoS attack by deleting critical files required for the application's operation.

Frequently asked questions

What is CVE-2024-5211?
A path traversal vulnerability in mintplex-labs/anything-llm allowed a manager to bypass the `normalizePath()` function, intended to defend against path traversal attacks. This vulnerability enables the manager to read, delete, or overwrite the 'anythingllm.db' database file and other files stored in the 'storage' directory, such as internal communication keys and .env secrets. Exploitation of this vulnerability could lead to application compromise, denial of service (DoS) attacks, and unauthorized admin account takeover. The issue stems from improper validation of user-supplied input in the process of setting a custom logo for the app, which can be manipulated to achieve arbitrary file read, deletion, or overwrite, and to execute a DoS attack by deleting critical files required for the application's operation.
How severe is CVE-2024-5211?
CVE-2024-5211 has a CVSS 3.x base score of 7.2, rated high severity. It is exploitable over network with low attack complexity, requires high privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
Is CVE-2024-5211 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (60th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2024-5211?
CVE-2024-5211 affects Mintplexlabs Anythingllm. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2024-5211?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
Does CVE-2024-5211 have an EU (EUVD) identifier?
Yes. CVE-2024-5211 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-46451.
When was CVE-2024-5211 published?
CVE-2024-5211 was published on 2024-06-12 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Mintplexlabs Anythingllm

All CVEs affecting Mintplexlabs Anythingllm →

Other CWE-29 vulnerabilities

Browse all CWE-29 vulnerabilities →