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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:mintplexlabs:anythingllm:*:*:*:*:*:*:*:*

History

15 Jul 2025, 15:04

Type Values Removed Values Added
CWE CWE-29
References () https://huntr.com/bounties/38f282cb-7226-435e-9832-2d4a102dad4b - () https://huntr.com/bounties/38f282cb-7226-435e-9832-2d4a102dad4b - Exploit, Third Party Advisory
References () https://github.com/mintplex-labs/anything-llm/commit/e208074ef4c240fe03e4147ab097ec3b52b97619 - () https://github.com/mintplex-labs/anything-llm/commit/e208074ef4c240fe03e4147ab097ec3b52b97619 - Patch
CPE cpe:2.3:a:mintplexlabs:anythingllm:*:*:*:*:*:*:*:*
First Time Mintplexlabs anythingllm
Mintplexlabs
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.2

12 Jun 2024, 12:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-06-12 12:15

Updated : 2025-07-15 15:04


NVD link : CVE-2024-5211

Mitre link : CVE-2024-5211


JSON object : View

Products Affected

mintplexlabs

  • anythingllm
CWE

No CWE.