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
- Severity: High (CVSS 3.x base score 7.2)
- EPSS exploit prediction: 1% (60th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-46451
- Weakness: CWE-29
- Affected product: Mintplexlabs Anythingllm
- Published:
- Last modified:
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
- https://github.com/mintplex-labs/anything-llm/commit/e208074ef4c240fe03e4147ab097ec3b52b97619
- https://huntr.com/bounties/38f282cb-7226-435e-9832-2d4a102dad4b
Affected products (1)
- cpe:2.3:a:mintplexlabs:anythingllm:*:*:*:*:*:*:*:*
More vulnerabilities in Mintplexlabs Anythingllm
- CVE-2024-3025 — Critical (CVSS 9.9): mintplex-labs/anything-llm is vulnerable to path traversal attacks due to insufficient validation of user-supplied…
- CVE-2024-3104 — Critical (CVSS 9.8): A remote code execution vulnerability exists in mintplex-labs/anything-llm due to improper handling of environment…
- CVE-2023-4897 — Critical (CVSS 9.8): Relative Path Traversal in GitHub repository mintplex-labs/anything-llm prior to 0.0.1.
- CVE-2026-32626 — Critical (CVSS 9.6): AnythingLLM is an application that turns pieces of content into context that any LLM can use as references during…
- CVE-2024-3033 — Critical (CVSS 9.4): An improper authorization vulnerability exists in the mintplex-labs/anything-llm application, specifically within the…
- CVE-2024-3279 — Critical (CVSS 9.1): An improper access control vulnerability exists in the mintplex-labs/anything-llm application, specifically within the…
All CVEs affecting Mintplexlabs Anythingllm →
Other CWE-29 vulnerabilities
- CVE-2025-15036 — Critical (CVSS 10.0): A path traversal vulnerability exists in the `extract_archive_to_dir` function within the…
- CVE-2024-2083 — Critical (CVSS 9.9): A directory traversal vulnerability exists in the zenml-io/zenml repository, specifically within the /api/v1/steps…
- CVE-2024-6396 — Critical (CVSS 9.8): A vulnerability in the `_backup_run` function in aimhubio/aim version 3.19.3 allows remote attackers to overwrite any…
- CVE-2024-5443 — Critical (CVSS 9.8): CVE-2024-4320 describes a vulnerability in the parisneo/lollms software, specifically within the…
- CVE-2024-2358 — Critical (CVSS 9.8): A path traversal vulnerability in the '/apply_settings' endpoint of parisneo/lollms-webui allows attackers to execute…
- CVE-2023-6975 — Critical (CVSS 9.8): A malicious user could use this issue to get command execution on the vulnerable machine and get access to data &…